You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ideally a syntax which is similar to the syntax to include markdown files.
Ideally the syntax works with a normal markdown parser, so it renders a link to the file which should be embedded.
For instance: [!include](fixtures/test.js)
Similar what is used for Azure Docs if you spot the [!INCLUDE cloud-shell-try-it.md] line
[!include](fixtures/test.js) is more likely a markdown-level syntax, IMO I prefer a SFC-styled syntax which is more suitable for VuePress, because the spirit of VuePress is Using Vue in Markdown, so a *.md file should be considered as a Vue Component instead of Snippet:
Feature request
What problem does this feature solve?
Align syntax to include snippets
What does the proposed API look like?
Ideally a syntax which is similar to the syntax to include markdown files.
Ideally the syntax works with a normal markdown parser, so it renders a link to the file which should be embedded.
For instance:
[!include](fixtures/test.js)
Similar what is used for Azure Docs if you spot the
[!INCLUDE cloud-shell-try-it.md]
lineI know there is already an issue to support markers, but maybe this plugin for GitBook gives some insights and more options or implementation details:
https://plugins.gitbook.com/plugin/include-codeblock
How should this be implemented in your opinion?
I don't know
Are you willing to work on this yourself?**
Yes
Probably related:
The text was updated successfully, but these errors were encountered: