mirror of
https://github.com/danog/sass-site.git
synced 2024-11-26 20:14:53 +01:00
comment
This commit is contained in:
parent
2e97aaf8d8
commit
5386828db4
@ -15,7 +15,12 @@ export const funFact = async (contents: string) =>
|
||||
/**
|
||||
* Returns HTML for a code block with syntax highlighting via [Prism][].
|
||||
*
|
||||
* This should be equivalent to the [11ty `{% highlight %}` tag][hl-tag], except
|
||||
* this tag can wrap dynamic content (partials, variables, etc), while the 11ty
|
||||
* tag only wraps plain text.
|
||||
*
|
||||
* [Prism]: https://prismjs.com/
|
||||
* [hl-tag]: https://www.11ty.dev/docs/plugins/syntaxhighlight/#usage
|
||||
*
|
||||
* @see https://prismjs.com/
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user