Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add a markdown-it plugin called outline plugin, to be recognized slide pages by VS Code's outline pane. It can jump to the other slide page easily.
In addition, it would allow to fold the code of slide contents per page.
The added plugin will manipulate parsed tokens to add the invisible header token before each slides as the virtual
<h0>
element. They have a line data mapped to the divider, and VS Code's Markdown support would process them well.Experimental?At first, we want to release this as an experimental feature because of some restrictions:---
in most cases. We are not yet sure if it is good or bad.Outline pane will show the sorted outline by the content of corresponding line. It has no problem in typical usage, but it may break order of slides when Markdown used some different dividers.headingDivider
global directive is not yet supported. It may require a feedback to Marpit.UPDATE: Our fears almost could resolve. We will ship as non-experimental feature with add notes to README.md.
We might add the separated panel to show detailed outline by depending on the feedback, just like vscode-reveal.