-
Notifications
You must be signed in to change notification settings - Fork 644
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #607 from SublimeText-Markdown/3.0.0
Release 3.0.0
- Loading branch information
Showing
186 changed files
with
20,076 additions
and
13,174 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
3.8 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
] | ||
} | ||
] |
Oops, something went wrong.