Skip to content
This repository has been archived by the owner on Apr 28, 2024. It is now read-only.

feat(smd): add grammar rules for basic Markdown elements e.g. headings, emphasis #7

Closed
nokome opened this issue Apr 15, 2024 · 0 comments · Fixed by #12
Closed

feat(smd): add grammar rules for basic Markdown elements e.g. headings, emphasis #7

nokome opened this issue Apr 15, 2024 · 0 comments · Fixed by #12
Assignees

Comments

@nokome
Copy link
Member

nokome commented Apr 15, 2024

We currently have a syntax highlighting grammar for Stencila Markdown that covers our extensions: https://github.com/stencila/vscode-extension/blob/main/syntaxes/smd/tmGrammar.yaml.

However it does not yet include rules for many basic Markdown elements. I suggest that we use those defined in VSCode's own Markdown grammar at: https://github.com/microsoft/vscode-markdown-tm-grammar/blob/main/markdown.tmLanguage.base.yaml

Rules that are currently missing from smd/tmGrammar.yaml could be added to the end and then included in the inline and block patterns.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants