Skip to content

Escape snippet syntax in code block example#6183

Merged
squidfunk merged 1 commit intosquidfunk:masterfrom
sisp:docs/escape-snippet-syntax
Oct 13, 2023
Merged

Escape snippet syntax in code block example#6183
squidfunk merged 1 commit intosquidfunk:masterfrom
sisp:docs/escape-snippet-syntax

Conversation

@sisp
Copy link
Copy Markdown
Contributor

@sisp sisp commented Oct 12, 2023

I've fixed the code block example in the docs which demonstrates how to embed external files through the snippet syntax. The snippet syntax was not escaped, so the plugin actually embedded the content of the referenced file.

@squidfunk
Copy link
Copy Markdown
Owner

Thanks for the PR! I didn't know this was possible by now – perfect!

@squidfunk squidfunk merged commit c3683b2 into squidfunk:master Oct 13, 2023
@sisp sisp deleted the docs/escape-snippet-syntax branch October 13, 2023 07:09
@sisp
Copy link
Copy Markdown
Contributor Author

sisp commented Oct 13, 2023

I didn't know either, but then I stumbled over the pymdownx docs. 😄

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.

2 participants