Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
13 changes: 13 additions & 0 deletions messages/next.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# MarkdownEditing {version} Changelog

Your _MarkdownEditing_ plugin is updated. Enjoy new version. For any type of
feedback you can use [GitHub issues][issues].

## Bug Fixes

## New Features
- Syntax: Add support for KDL fenced code blocks - auto-v1/2-selection variant `kdl` as well as forced v1/v2 variants `kdl1` and `kdl2`

## Changes

[issues]: https://github.com/SublimeText-Markdown/MarkdownEditing/issues
69 changes: 69 additions & 0 deletions syntaxes/Markdown.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -1392,6 +1392,9 @@ contexts:
- include: fenced-jade
- include: fenced-julia
- include: fenced-kotlin
- include: fenced-kdl
- include: fenced-kdl1
- include: fenced-kdl2
- include: fenced-less
- include: fenced-mermaid
- include: fenced-nim
Expand Down Expand Up @@ -2789,6 +2792,72 @@ contexts:
1: punctuation.definition.raw.code-fence.end.markdown
2: meta.fold.code-fence.end.markdown

fenced-kdl:
- match: |-
(?x)
{{fenced_code_block_start}}
(?i:\s*(kdl))
{{fenced_code_block_trailing_infostring_characters}}
captures:
0: meta.code-fence.definition.begin.kdl.markdown-gfm
2: punctuation.definition.raw.code-fence.begin.markdown
5: constant.other.language-name.markdown
6: comment.line.infostring.markdown
7: meta.fold.code-fence.begin.markdown
embed: scope:text.kdl
embed_scope:
markup.raw.code-fence.kdl.markdown-gfm
text.kdl
escape: '{{fenced_code_block_escape}}'
escape_captures:
0: meta.code-fence.definition.end.kdl.markdown-gfm
1: punctuation.definition.raw.code-fence.end.markdown
2: meta.fold.code-fence.end.markdown

fenced-kdl1:
- match: |-
(?x)
{{fenced_code_block_start}}
(?i:\s*(kdl1))
{{fenced_code_block_trailing_infostring_characters}}
captures:
0: meta.code-fence.definition.begin.kdl.markdown-gfm
2: punctuation.definition.raw.code-fence.begin.markdown
5: constant.other.language-name.markdown
6: comment.line.infostring.markdown
7: meta.fold.code-fence.begin.markdown
embed: scope:text.kdl.1
embed_scope:
markup.raw.code-fence.kdl.markdown-gfm
text.kdl.1
escape: '{{fenced_code_block_escape}}'
escape_captures:
0: meta.code-fence.definition.end.kdl.markdown-gfm
1: punctuation.definition.raw.code-fence.end.markdown
2: meta.fold.code-fence.end.markdown

fenced-kdl2:
- match: |-
(?x)
{{fenced_code_block_start}}
(?i:\s*(kdl2))
{{fenced_code_block_trailing_infostring_characters}}
captures:
0: meta.code-fence.definition.begin.kdl.markdown-gfm
2: punctuation.definition.raw.code-fence.begin.markdown
5: constant.other.language-name.markdown
6: comment.line.infostring.markdown
7: meta.fold.code-fence.begin.markdown
embed: scope:text.kdl.2
embed_scope:
markup.raw.code-fence.kdl.markdown-gfm
text.kdl.2
escape: '{{fenced_code_block_escape}}'
escape_captures:
0: meta.code-fence.definition.end.kdl.markdown-gfm
1: punctuation.definition.raw.code-fence.end.markdown
2: meta.fold.code-fence.end.markdown

fenced-less:
- match: |-
(?x)
Expand Down