Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.0.0 #607

Merged
merged 290 commits into from
Sep 12, 2021
Merged

3.0.0 #607

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
290 commits
Select commit Hold shift + click to select a range
bccab73
Key Bindings: Fix italic/bold bindings
deathaxe May 11, 2021
7a8e19f
Toolchain: Improve JsonTests
deathaxe May 11, 2021
0bb3fc7
Plugins: Reorganize lint.py
deathaxe May 11, 2021
a18329b
Plugins: Use try..catch to handle empty selections
deathaxe May 11, 2021
36afa2d
Plugins: Use explicit imports
deathaxe May 11, 2021
52891fb
Plugins: Fix flake8 issues
deathaxe May 11, 2021
3c8c11a
Toolchain: Add flake8 to CI
deathaxe May 11, 2021
3aede93
Plugins: Opt-in to plugin_host-3.8
deathaxe May 12, 2021
8946536
Plugins: Rework Color Scheme Selections
deathaxe May 12, 2021
98a1844
Syntax: Assign file extensions in syntax instead of settings
deathaxe May 12, 2021
7ff6ef8
Syntax: Convert MultiMarkdown to sublime-syntax
deathaxe May 12, 2021
b476880
Plugins: Fix linting rule md027
deathaxe May 12, 2021
26499db
Plugins: Fix linting rule md028
deathaxe May 12, 2021
9593b8f
Plugins: Simplify Unsaved View Title Setter
deathaxe May 12, 2021
38a9fd9
Plugins: Merge distraction_free_mode into view module
deathaxe May 12, 2021
dbbd00f
Plugins: Merge WikiPage plugins
deathaxe May 12, 2021
bd970dc
Plugins: Merge mdeutils into view
deathaxe May 12, 2021
d6a33ee
Plugins: Prefix folding commands with mde_
deathaxe May 13, 2021
789b7d8
Plugins: Prefix footnotes commands with mde_
deathaxe May 13, 2021
2b983ef
Plugins: Prefix indent_list_item commands with mde_
deathaxe May 13, 2021
0fa70e6
Plugins: Prefix lint commands with mde_
deathaxe May 13, 2021
08bf3c2
Plugins: Prefix number_list commands with mde_
deathaxe May 13, 2021
5db3b06
Plugins: Prefix prepare_from_template commands with mde_
deathaxe May 13, 2021
2f3bc52
Plugins: Prefix indent_quote commands with mde_
deathaxe May 13, 2021
5b72c42
Plugins: Prefix references commands with mde_
deathaxe May 13, 2021
2b120c9
Plugins: Prefix switch_buttet_types commands with mde_
deathaxe May 13, 2021
539c921
Plugins: Prefix headings commands with mde_
deathaxe May 13, 2021
146483b
Plugins: Merge list item related commands into "lists" module
deathaxe May 13, 2021
5c77909
Plugins: Merge prepare_from_template into wiki_page
deathaxe May 13, 2021
5580ba8
Plugins: Add logging facility and replace all print() calls
deathaxe May 13, 2021
56ebdad
Plugins: Add command to toggle task lists.
deathaxe May 14, 2021
485d105
Syntax: Fix headings highlighting
deathaxe May 14, 2021
7d00e3b
Settings: Don't mess with user settings
deathaxe May 12, 2021
f94f127
Keymap: Group bindings by functional sections
deathaxe May 14, 2021
f8740e4
Plugins: Rework MdeAddNumberedReferenceDefinitionCommand
deathaxe May 14, 2021
35ae9ec
Keymap: Fix auto_complete_commit_on_tab behavior
deathaxe May 14, 2021
bb6da1d
Keymap: Fix new list/task items in block quotes
deathaxe May 14, 2021
9a3cb10
Keymap: Clean up patterns
deathaxe May 14, 2021
f17010e
Kaymap: Disable binding for organize footnotes by default
deathaxe May 14, 2021
2969aa8
Plugins: Fix adding footnote breaks when textual footnotes exist
deathaxe May 14, 2021
be39c7a
Plugins: Reassign syntaxes after install before uninstall
deathaxe May 14, 2021
9b30d85
Settings: Centralize all Markdown settings in Preferences.
deathaxe May 14, 2021
f828cde
Common: Start a changelog
deathaxe May 14, 2021
6ef3229
Common: Update changelog
deathaxe May 14, 2021
8dda10e
Common: Add .editorconfig file
deathaxe May 16, 2021
2a78a2a
Plugins: Add command to temporarily toggle centered line mode
deathaxe May 16, 2021
80ee048
Plugins: Fix comments in headings.py
deathaxe May 16, 2021
2120331
Snippets: Update Markdown Heading Snippets
deathaxe May 16, 2021
b8082b9
Plugins: Improve headings level changing
deathaxe May 16, 2021
0ac0be2
Keymap: Clean up patterns (part 2)
deathaxe May 16, 2021
bd6bb74
Plugins: Read logger config from Preferences
deathaxe May 16, 2021
8f9af64
Plugins: Fix list detection of mde_complete_underline_headings
deathaxe May 16, 2021
22cfc52
Keymap: Fix GFM Task removal and add backspace binding
deathaxe May 16, 2021
1df5edc
Keymap: Convert list item to GFM task via [
deathaxe May 17, 2021
7b3e752
Macros: Use tab indentation
deathaxe May 17, 2021
df05419
Keymap: Improve automatic balancing of heading hashes
deathaxe May 17, 2021
80f8c63
Plugins: Add automatic link/reference folding
deathaxe May 18, 2021
d4bfc98
Plugins: Rename functions to follow pythons' snake case
deathaxe May 20, 2021
f5fa500
Plugins: single pattern to search headings
deathaxe May 20, 2021
8b9fdc7
Keymap: Override ST's folding key bindings
deathaxe May 20, 2021
33004b3
Commands: Fix formatting
deathaxe May 20, 2021
e77c63e
Keymap: Reorder mde_change_headings_level bindings
deathaxe May 20, 2021
a772693
Plugins: Fix view name setter
deathaxe May 21, 2021
438815b
Keymap: Backspace should be able to be used to remove whitespace
deathaxe May 21, 2021
bf21872
Plugins: Refactor headings related plugins
deathaxe May 22, 2021
3cdc184
Plugins: Reformat using black
deathaxe May 22, 2021
8630fb2
Common: Replace tox.ini
deathaxe May 22, 2021
e91729c
Commands: Reorganize Default.sublime-commands
deathaxe May 22, 2021
acc509d
Commands: Rename "Find Heading" to "Goto Heading"
deathaxe May 22, 2021
abdb815
Commands: Fix "MarkdownEditing: Key Bindings" command
deathaxe May 22, 2021
3c46766
Plugins: Tweak Goto Headings
deathaxe May 22, 2021
4c2edea
Plugins: Add atx heading style auto detection
deathaxe May 22, 2021
4c4ceb9
Symbols: Tweak Symbol Lists
deathaxe May 23, 2021
6373256
Colors: Add Mariana color scheme
deathaxe May 23, 2021
e55e917
Colors: Move color schemes into sub directory
deathaxe May 24, 2021
bb23822
Keymap: Add fix for expand_selection smart
deathaxe May 24, 2021
b85c650
Plugins: Keep caret in position when changing levels
deathaxe May 25, 2021
0eb1e68
Fix Github workflow
deathaxe May 26, 2021
5b6c69d
Update changelog
deathaxe May 29, 2021
9b6f843
Macros: Improve Bold/Italics macros
deathaxe May 29, 2021
871dfad
Colors: Tweak Mariana, add Monokai patch
deathaxe May 29, 2021
a2ae66c
Keymap: Add `delete` key to reduce headings levels
deathaxe May 29, 2021
e4218a7
Keymap: Improve auto_match_heading_hashes via `#` and backspace
deathaxe May 29, 2021
631e412
Keymap: Fix add new list item with caret in front of text
deathaxe May 29, 2021
b87e950
Keymap: Add backspace binding to remove strikethrough
deathaxe May 29, 2021
99f4cd5
Plugins: Fix automatic heading style detection
deathaxe May 29, 2021
94e861d
Plugins: Clamp caret to headings level
deathaxe May 30, 2021
46a5b32
Keymap: Disable auto-pairing and smart-typing between kbd tags
deathaxe May 30, 2021
01a074f
Plugins: Fix color scheme when uninstalling
deathaxe May 30, 2021
710265c
Keymap: Fix shift+tab folding instead of unindenting list item
deathaxe Jun 3, 2021
4b418d9
Keymap: Refine bold/italics contexts
deathaxe Jun 4, 2021
f02ac71
Plugins: Remove basic_ops as it contains only crap
deathaxe Jun 5, 2021
7d0ad10
Plugins: Disable headings style detection in syntax_test files
deathaxe Jun 5, 2021
81d1835
Plugins: Resolve circular import
deathaxe Jun 5, 2021
3fe8ed4
Plugins: Optimize Switch bullet type command
deathaxe Jun 5, 2021
8ac6de0
Plugins: Consolidate MdeToggleTaskListItemCommand patterns
deathaxe Jun 6, 2021
1cb2abb
Plugins: Optimize MdeIndentListItemCommands
deathaxe Jun 6, 2021
4cbab90
Plugins: Merge MdeIndentListItemCommands
deathaxe Jun 6, 2021
66347bb
Plugins: Add MdeUnindentListItemCommand
deathaxe Jun 6, 2021
7831227
Plugins: Toggle all GFM Tasks within selections
deathaxe Jun 6, 2021
0fef19c
Misc: Remove indentation rules
deathaxe Jun 21, 2021
0cfdd3a
Menu: Move context menu items to sub menu
deathaxe Jun 21, 2021
fb7ecbc
Snippets: Add kbd snippet
deathaxe Jun 21, 2021
6551aa5
Snippets: Rename snippet files
deathaxe Jun 21, 2021
ebc5518
Syntaxes: Move syntax related files into subdir
deathaxe Jun 26, 2021
0fe893f
Docs: Start reorganizing docs to use MkDocs
deathaxe May 23, 2021
4161af1
Update .gitattributes
deathaxe Jul 1, 2021
14066d1
Add make script for Windows
deathaxe Jul 1, 2021
a807b8d
Docs: Fix links
deathaxe Jul 1, 2021
90ec3d7
README: Add features list from docs
deathaxe Jul 1, 2021
06f602a
Keymap: Add bindint to create GFM task via alt+t
deathaxe Jul 2, 2021
7efc90a
Docs: Fix typos
deathaxe Jul 2, 2021
1e2660f
Docs: Fix strike-through not being rendered
deathaxe Jul 2, 2021
313f510
Docs: Escape some chars to avoid highlighting issues
deathaxe Jul 3, 2021
84c8ca1
Preferences: Tweak comments
deathaxe Jul 3, 2021
8c24a4e
Plugins: Fix links not being folded initially
deathaxe Jul 3, 2021
f2b615d
Docs: Add GFM task bindings to usage.md
deathaxe Jul 3, 2021
85230bb
Docs: Fix make script
deathaxe Jul 3, 2021
de9ca46
Docs: Add missing image
deathaxe Jul 3, 2021
d2f2563
Merge branch 'master' into 3.0.0
deathaxe Jul 4, 2021
6cba218
Colors: Fix comment
deathaxe Jul 4, 2021
c8ceed3
Plugins: Fix markdown syntax path in color choose
deathaxe Jul 4, 2021
5000109
Plugins: Fix more syntax paths
deathaxe Jul 4, 2021
12c1897
Satisfy linter
deathaxe Jul 4, 2021
c7ea775
Update CI Github Actions
deathaxe Jul 4, 2021
fff9add
Add MkDocs to Github Actions
deathaxe Jul 4, 2021
e49fb8b
Update MkDocs Config
deathaxe Jul 4, 2021
e35ed35
Fix Github Actions
deathaxe Jul 5, 2021
854863e
Plugins: Satisfy linter
deathaxe Jul 10, 2021
61a0d16
Plugins: Unfold sections without unfolding links
deathaxe Jul 10, 2021
19d10e5
Plugins: Refactor MdeFoldSectionCommand
deathaxe Jul 11, 2021
49e81df
Keymap: Move goto headings key bindings
deathaxe Jul 11, 2021
944d8f3
Keymap: Fix folding setext level 2 headings
deathaxe Jul 11, 2021
df93b44
Plugins: Fix folding of setext level 1 headings
deathaxe Jul 11, 2021
c4c4d9c
Tests: Add folding unit and integration tests
deathaxe Jul 11, 2021
06b22b9
Plugins: Refactor MdeFoldAllSectionsCommand
deathaxe Jul 14, 2021
40952e5
Keymap: Fold all sections with target_level 0 via ctrl+9 binding
deathaxe Jul 14, 2021
7247cf3
Plugins: Fix missing argument
deathaxe Jul 16, 2021
f73e8ef
Plugins: Add show_first_unfolded_selection()
deathaxe Jul 17, 2021
0089263
Plugins: Teach fold_section to respect target_level
deathaxe Jul 19, 2021
0eb984e
Keymap: Fix field selection in snippets
deathaxe Jul 20, 2021
6980773
Tests: Make use of new `assertFoldedRegions`
deathaxe Jul 20, 2021
950528d
Tests: Change setCaretTo signature
deathaxe Jul 20, 2021
8d45988
Plugins: Fix unfolding sections if caret with caret after fold marker
deathaxe Jul 21, 2021
966f141
Plugins: Rename variable
deathaxe Jul 21, 2021
1e1436a
Plugins: Use string.format()
deathaxe Jul 21, 2021
bdcd636
Plugins: Don't fold selected links if sections are unfolded
deathaxe Jul 23, 2021
8eee3ee
Docs: Add brief description of new folding behavior
deathaxe Jul 21, 2021
a0b891b
Plugins: Improve link auto folding behavior
deathaxe Jul 24, 2021
c52032e
Plugins: Update comments
deathaxe Jul 24, 2021
b8571a3
Plugins: Satisfy black
deathaxe Jul 24, 2021
0b620a4
Update Github Actions
deathaxe Jul 24, 2021
eb15eb9
Update changelog
deathaxe Jul 24, 2021
4e89bf7
Plugins: Fix typo
deathaxe Jul 24, 2021
6c8d3a4
Tests: Add test for text modifications with folded links
deathaxe Jul 24, 2021
edbe056
Tests: Fix missing assertion
deathaxe Jul 25, 2021
d64eaa9
Tests: Reduce repetitions with regards to declaring regions
deathaxe Jul 25, 2021
880a422
Keymap: Improve indent/unindent bindings
deathaxe Jul 25, 2021
368d8c1
Update changelog
deathaxe Jul 25, 2021
8b609fc
Color Schemes: Add SublimeLinter to all schemes
deathaxe Jul 25, 2021
d080ec5
Keymap: Improve indent binding context
deathaxe Jul 25, 2021
c755fd3
Syntax: Sync with ST's default Markdown syntax
deathaxe Jul 26, 2021
e592823
Syntax: Apply all ST3 compatible commits from Default Markdown
deathaxe Jul 26, 2021
e04a715
Syntax: Add CoffeeScript/JSON front matter support
deathaxe Jul 25, 2021
dbeff1b
Syntax: Add back fenced code block support all prior syntaxes and som…
deathaxe Jul 25, 2021
537cc3a
Schemes: Fix stroked through punctuation colors
deathaxe Jul 27, 2021
5b7ca9b
Update changelog
deathaxe Jul 27, 2021
0771107
Syntax: Add back special <kbd> tag scoping.
deathaxe Jul 27, 2021
8479a9c
Plugins: Add reference url completions provider
deathaxe Jul 28, 2021
ae28846
Syntax: Fix dosbatch/powershell language names
deathaxe Jul 28, 2021
ed55cee
Syntax: Add fenced mermaid code code blocks
deathaxe Jul 28, 2021
6a20340
Plugins: Fix ST3 compatibility
deathaxe Jul 29, 2021
0c83551
Schemes: Improve Monokai/Mariana patches
deathaxe Jul 29, 2021
39a0ec3
Syntax: Add GFM task checkbox highlighting in block quotes
deathaxe Jul 29, 2021
f3a6038
Syntax: Add fenced Clojure
deathaxe Jul 30, 2021
e80e8f3
Syntax: Remove obsolete context
deathaxe Jul 30, 2021
db71727
Syntax: Case insensitive front-matter syntax constants
deathaxe Jul 30, 2021
2636f7e
Syntax: Reorganize fenced codeblocks
deathaxe Jul 30, 2021
c21f402
Tests: Remove ST3 incompatible syntax tests
deathaxe Jul 30, 2021
160f209
CI: Refactor github workflows and add syntax tests
deathaxe Jul 31, 2021
ba3dbca
Tests: Fix MultiMarkdown syntax test
deathaxe Jul 31, 2021
64edcdf
Syntax: Remove file extension from MultiMarkdown
deathaxe Jul 31, 2021
8855b96
Syntax: Add dedicated fenced-raw-content context
deathaxe Jul 31, 2021
bdbc2fa
Syntax: Fix fenced code blocks in block quotes
deathaxe Jul 31, 2021
91b0dce
Update changelog
deathaxe Jul 31, 2021
fd1c3b1
Syntax: Add CriticMarkup
deathaxe Jul 31, 2021
8118bed
Schemes: Highlight hard line breaks
deathaxe Aug 1, 2021
9e9a443
Syntax: Fix strike-through markup in critic markup
deathaxe Aug 1, 2021
734daef
Update changelog
deathaxe Aug 1, 2021
fbedbdc
Plugins: Let linter ignore front-matter
deathaxe Aug 1, 2021
153b327
Plugins: Tweak linter output panel creation/removal
deathaxe Aug 1, 2021
1036e39
Syntax: Rename front-matter context
deathaxe Aug 1, 2021
774f1ef
Keymap/Snippets: Add some helper for adding critics
deathaxe Aug 1, 2021
a505bef
Keymap: Move critic bindings
deathaxe Aug 2, 2021
9a77c0b
Keymap: Add macro-bindings to commit/reject critic markup
deathaxe Aug 2, 2021
d369515
Keymap: Use Critic Snippet files
deathaxe Aug 2, 2021
dd87525
Macros: Improve Commit/Discard Critic at EOL
deathaxe Aug 2, 2021
34985ee
Keymap/Snippets: Tweak selectors
deathaxe Aug 2, 2021
862c928
Syntax: Include newline in frontmatter
deathaxe Aug 2, 2021
407799d
Syntax: Add INI highlighting in fenced code blocks
deathaxe Aug 2, 2021
9e2aedb
Syntax: Add TOML highlighting in fenced code blocks
deathaxe Aug 2, 2021
5931491
Syntax: Add Jade highlighting in fenced code blocks
deathaxe Aug 2, 2021
097c1cb
Syntax: Add GraphQL highlighting in fenced code blocks
deathaxe Aug 2, 2021
46e54db
Syntax: Remove duplicate fenced syntax includes
deathaxe Aug 2, 2021
db3ead1
Syntax: Move tests below existing task tests
deathaxe Aug 3, 2021
bf8cdad
Syntax: Fix more block quote related issues
deathaxe Aug 3, 2021
a5d54d2
Syntax: Fix more block quote boundary issues
deathaxe Aug 4, 2021
4ee1977
Syntax: Add parenthesized numbered lists
deathaxe Aug 4, 2021
68f6960
Update Changelog
deathaxe Aug 4, 2021
ff6b5b1
Syntax: Tweak ordered list scope rules
deathaxe Aug 4, 2021
66a6b8f
Syntax: Fix ATX headings
deathaxe Aug 4, 2021
59d9005
Syntax: Reorganize ATX heading contexts
deathaxe Aug 4, 2021
b3764ff
Syntax fix heading entity boundary
deathaxe Aug 5, 2021
d28bfbd
Syntax: Use variables in atx heading patterns
deathaxe Aug 6, 2021
0c081f3
Keymap: Fix enter in front of text not adding blockquote line
deathaxe Aug 5, 2021
9f7bf32
Plugins: Add MdeJoinLines command
deathaxe Aug 5, 2021
ea173d4
Syntax: Fix & simplify list_item variable
deathaxe Aug 8, 2021
8b83d04
Plugins: Make MdeJoinLines command a little bit smarter
deathaxe Aug 8, 2021
073f20f
Keymap: Tweak backspace in blockquotes
deathaxe Aug 9, 2021
e5a87bd
Plugins: Fix MdeJoinLines of lists in blockquotes
deathaxe Aug 10, 2021
3b7afe6
Keymap: Tweak enter in blockquotes
deathaxe Aug 10, 2021
bef4338
Keymap: Disable removing empty blockquote line via enter
deathaxe Aug 10, 2021
332c6b5
Plugins: Avoid naming conflict and satisfy linter
deathaxe Aug 10, 2021
8b99048
Syntax: Fix thematic break after fenced codeblocks
deathaxe Aug 12, 2021
b332aa1
Syntax: Refactor paragraph detection
deathaxe Aug 12, 2021
d006ad7
Syntax: Scope trailing setext heading whitespace
deathaxe Aug 12, 2021
0c5dbd4
Syntax: Fix paragraph terminated by fenced code blocks
deathaxe Aug 12, 2021
9003c58
Plugins: Add multi-caret tests for MdeJoinLines
deathaxe Aug 14, 2021
64292f9
Keymap: Add support for ordered lists with "1)" bullets
deathaxe Aug 14, 2021
8053002
Plugins: Satisfy flake8
deathaxe Aug 14, 2021
a0d8be5
Tests: Fix DereferrablePanelTestCase.tearDownClass
deathaxe Aug 14, 2021
b77a230
Plugins: Simplify toggle task and add tests
deathaxe Aug 15, 2021
6af6ca8
Syntax: Fix strikethrough markup within bold/italics
deathaxe Aug 16, 2021
926fea0
Syntax: Add wiki link support
deathaxe Aug 16, 2021
574d224
Colors: Apply changed scopes to color schemes
deathaxe Aug 16, 2021
b5b736d
Plugins: Use external sample document for color scheme preview
deathaxe Aug 16, 2021
1544688
Syntax: Highlight HTML tags in blockquotes
deathaxe Aug 16, 2021
68187d0
Syntax: Scope whole last line of front-matter `meta.frontmatter`
deathaxe Aug 16, 2021
00b3302
Colors: Reorganize Markup Colors
deathaxe Aug 17, 2021
dcf0ec7
Syntax: Scope check boxes markup.checkbox
deathaxe Aug 18, 2021
a6b8edf
Keymap: Improve backtick auto-pairing
deathaxe Aug 19, 2021
c85dc39
Syntax: Add support for fenced `shell` language tag
deathaxe Sep 5, 2021
0b2ed8e
Readme: Add hint for CriticsMarkup
deathaxe Sep 10, 2021
c8666c8
Syntax: Sync with default Markdown syntax
deathaxe Sep 10, 2021
3041b81
Syntax: Terminate inline formatting on paragraph boundaries
deathaxe Sep 10, 2021
b2b674f
Syntax: Sync with default Markdown syntax
deathaxe Sep 11, 2021
55c25a4
Syntax: Highlight any unknown fenced language identifier
deathaxe Sep 11, 2021
1c6882a
Keymap: Bind shift+enter to add a line to a list item
deathaxe Sep 11, 2021
928a7f1
Readme: Update install and changelog messages
deathaxe Sep 12, 2021
948deec
Docs: Update trouble shooting migration guide
deathaxe Sep 12, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 4
insert_final_newline = true
trim_trailing_whitespace = true

[*.json]
indent_style = tab

[*.md]
trim_trailing_whitespace = false

[*.sublime-*]
indent_style = tab

[*.tmPreferences]
indent_style = tab
6 changes: 6 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[flake8]
exclude = .*/,tests/,plugin.py,**/__init__.py
ignore = E203,E266,E501,W503
max-complexity = 25
max-line-length = 100
select = B,C,E,F,W,T4,B9
21 changes: 21 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Skip the following content from *.sublime-package files

# Git & Github
.github/ export-ignore
.gitattributes export-ignore
.gitignore export-ignore

# Documentation
docs/ export-ignore
samples/ export-ignore
CONTRIBUTING.md export-ignore
mcdocs.yml export-ignore

# Unittests
tests/ export-ignore
make.cmd export-ignore

# Settings
.editorconfig export-ignore
.flake8 export-ignore
pyproject.toml export-ignore
45 changes: 45 additions & 0 deletions .github/workflows/ci-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: CI Lint

on:
push:
branches:
- 'master'
paths:
- '**/*.json'
- '**/*.py'
- '**/*.sublime-*'
pull_request:
branches:
- '**'
paths:
- '**/*.json'
- '**/*.py'
- '**/*.sublime-*'
workflow_dispatch:

jobs:
lint:
name: Python ${{ matrix.python }}
runs-on: ubuntu-18.04
strategy:
matrix:
python:
- '3.3'
- '3.8'
arch:
- 'x64'
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
architecture: ${{ matrix.arch }}
- name: Install linters
run: pip install -r tests/requirements.txt
- name: Run black
run: python -m black --check .
if: ${{ matrix.python == '3.8' }}
- name: Run flake8
run: python -m flake8
40 changes: 40 additions & 0 deletions .github/workflows/ci-syntax-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: CI Syntax Tests

on:
push:
branches:
- 'master'
paths:
- '.github/workflows/ci-syntax-tests.yml'
- '**.sublime-syntax'
- '**/syntax_test_*'
- '**.tmPreferences'
pull_request:
branches:
- '**'
paths:
- '.github/workflows/ci-syntax-tests.yml'
- '**.sublime-syntax'
- '**/syntax_test_*'
- '**.tmPreferences'
workflow_dispatch:

jobs:
syntax_tests:
name: Sublime Text ${{ matrix.build }}
strategy:
matrix:
include:
- build: 3211
packages: st3
- build: 4107
packages: a147e3eb6210de480d0d9a6bd6bf54931a8ba7e9
- build: latest
packages: master
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: SublimeText/syntax-test-action@v2
with:
build: ${{ matrix.build }}
default_packages: ${{ matrix.packages }}
41 changes: 41 additions & 0 deletions .github/workflows/ci-unit-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: CI Unit Tests

on:
push:
branches:
- 'master'
paths:
- '**/*.json'
- '**/*.py'
- '**/*.sublime-*'
pull_request:
branches:
- '**'
paths:
- '**/*.json'
- '**/*.py'
- '**/*.sublime-*'
workflow_dispatch:

jobs:
test:
name: Sublime Text ${{ matrix.st_version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
st_version: [3, 4]
container:
image: sublimetext/unittesting
options: --cap-add=NET_ADMIN
env:
SUBLIME_TEXT_VERSION: ${{ matrix.st_version }}
steps:
- uses: actions/checkout@v1
- run: sh -e /etc/init.d/xvfb start
- run: curl -OL https://raw.githubusercontent.com/SublimeText/UnitTesting/master/sbin/github.sh
- run: |
PATH="$HOME/.local/bin:$PATH"
sh github.sh bootstrap
sh github.sh install_package_control
sh github.sh run_tests
27 changes: 27 additions & 0 deletions .github/workflows/deploy-gh-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Deploy Docs to Github Pages

on:
push:
branches:
- 'master'
paths:
- 'docs/**'
workflow_dispatch:

jobs:
build:
name: Deploy Docs to Github Pages
runs-on: ubuntu-18.04
steps:
- name: Checkout Repository
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.8'
- name: Install MkDocs
run: pip install -r docs/requirements.txt
- name: Run MkDocs
run: mkdocs gh-deploy
13 changes: 12 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
# python cache files
__pycache__/
.mypy_cache/
.pytest_cache/
.tox/
.venv/
*.pyc

# other folders
/site
/_warehouse

# files
*.cache
MarkdownEditing.taskpaper
/_warehouse
1 change: 1 addition & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.8
30 changes: 0 additions & 30 deletions Bold and Italic Markers.tmPreferences

This file was deleted.

92 changes: 55 additions & 37 deletions Context.sublime-menu
Original file line number Diff line number Diff line change
@@ -1,38 +1,56 @@
[
{
"caption": "MDE: Fold Section",
"command": "fold_section_context"
},
{
"caption": "MDE: Unfold Section",
"command": "unfold_section_context"
},
{
"caption": "MDE: Jump Reference",
"command": "reference_jump_context"
},
{
"caption": "MDE: Convert inline link to reference",
"command": "convert_inline_link_to_reference"
},
{
"caption": "MDE: Open wiki page",
"command": "open_page"
},
{
"caption": "MDE: Open home wiki page",
"command": "open_home_page"
},
{
"caption": "MDE: Open todays journal page",
"command": "open_journal"
},
{
"caption": "MDE: Make wiki page reference",
"command": "make_page_reference"
},
{
"caption": "MDE: List back links",
"command": "list_back_links"
}
]
{
"caption": "MarkdownEditing",
"id": "markdownediting",
"children": [
{
"caption": "-",
"id": "folding"
},
{
"caption": "Fold Section",
"command": "mde_fold_section_context"
},
{
"caption": "Unfold Section",
"command": "mde_unfold_section_context"
},
{
"caption": "-",
"id": "references"
},
{
"caption": "Jump Reference",
"command": "mde_reference_jump_context"
},
{
"caption": "Convert inline link to reference",
"command": "mde_convert_inline_link_to_reference"
},
{
"caption": "-",
"id": "wiki"
},
{
"caption": "Open wiki page",
"command": "mde_open_page"
},
{
"caption": "Open home wiki page",
"command": "mde_open_home_page"
},
{
"caption": "Open todays journal page",
"command": "mde_open_journal"
},
{
"caption": "Make wiki page reference",
"command": "mde_make_page_reference"
},
{
"caption": "List back links",
"command": "mde_list_back_links"
}
]
}
]
Loading