Skip to content

Conversation

@deathaxe
Copy link
Member

@deathaxe deathaxe commented Apr 28, 2025

Bug Fixes

New Features

Changes

  • drop support for ST3 (latest available version for ST3 is 3.2.0)
  • align frontmatter punctuation scopes with ST's default Markdown syntax
  • align code fence scopes with ST's default Markdown syntax
  • optimize paragraph termination patterns to improve parsing performance

deathaxe and others added 4 commits February 8, 2025 17:30
This commit deprecates ST3 releases.

ST3 versions of this package will no longer be maintained.
This commit aligns syntax definitions with ST's Markdown.
1. Optimize leading whitespace treatment by avoiding duplicate matches
   in paragraph termination patterns.

   To achieve it, leading `[ ]{,3}` is removed
   from each block indicator variable.

2. Create dedicated variables for each paragraph termination pattern.

3. Unrelated, but normalize eol patterns in seheadings and atx headings
   to `($\n?)`
Goal is to provide more logical grouping of variables.
Goal is to provide more logical grouping of variables.
Goal is to provide more logical grouping of variables.
@deathaxe deathaxe force-pushed the st4-develop branch 3 times, most recently from e6506a8 to d01410f Compare April 28, 2025 15:17
This commit adds key bindings to jump to next or previous critic markup.
This commit adds `mde_reset_task_list_items` command
to clear all task check marks.
This commit...

1. removes syntax name from `meta.code-fence.definition.[begin|end].[syntax]`.

   As a result each code block uses common scope:
      `meta.code-fence.definition.[begin|end].markdown-gfm`

   Amount of unique scopes which need to be handled by ST is reduced.

2. adds `meta.code-fence.body` to content part, so code fences can be addressed
   or searched by `meta.code-fence` scope.

   Example:

       view.sel().add_all(view.find_by_selector("meta.code-fence"))

   selects all fenced code blocks in a document.
@deathaxe deathaxe merged commit de14fe2 into master Apr 29, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Highlight markdown doesn't render in some contexts Critic Markup: Find next/previous Keyboard mapping to reset all tasks to unchecked

2 participants