Open
Conversation
Fix a missing comma in the horizontal rule prefix array that rendered
the file invalid JSON.
Fix the raw codeblock syntax so Pandoc raw attributes use the required
`=` prefix (for example `{=html}` rather than `{html}`).
Fix `htm` to `html` in the fenced code block language dropdown, drop
the non-standard `console`, normalise `c++`/`c#` to `cpp`/`csharp`, and
add commonly used languages (bash, html, r, rust, sql, toml, typescript,
xml, yaml).
Add `typst` to the raw code block dropdown.
Restore the `.column` content lines and add tab stops to `columns2` and
`columns3` so users can fill each column, drop the trailing
`<!-- end columns -->` marker that leaked an HTML comment into the
rendered output, and append a final `$0` so the cursor exits the block
cleanly.
Normalise final cursor placement with `$0` on single-line snippets
(quote, strikethrough, headings 1-6).
Surround block-level snippets (headings, lists, code blocks, divs,
blockquote, horizontal rule) with empty lines so the inserted content
does not collide with adjacent paragraphs and, for the horizontal
rule, cannot be parsed as a setext heading.
Add five new snippets: `yaml` for frontmatter, `figure` for an image
with `#fig-` id and `fig-alt`, `xref` for a Quarto cross-reference div
(fig/tbl/lst), `list-table` for a Quarto `.list-table` div, and
`tabset` for a `.panel-tabset` block.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
horizontal ruleprefix array that had rendered the file invalid JSON.=prefix ({=html}rather than{html}).htmtohtmlin the fenced code block language dropdown, drop the non-standardconsole, normalisec++/c#tocpp/csharp, and addbash,html,r,rust,sql,toml,typescript,xml, andyaml.typstto the raw code block dropdown..columncontent lines and add tab stops tocolumns2andcolumns3, drop the trailing<!-- end columns -->marker, and append a final$0so the cursor exits the block cleanly.$0on single-line snippets (quote,strikethrough,heading1-heading6).yamlfor frontmatter,figurefor an image with#fig-id andfig-alt,xreffor a Quarto cross-reference div (fig-/tbl-/lst-),list-tablefor a Quarto.list-tablediv, andtabsetfor a.panel-tabsetblock.divsnippet to use a single placeholder covering id, class, and key-value attributes (::: {#id .class1 key=value}) rather than only a class.