diff options
author | Patrice Chalin <chalin@users.noreply.github.com> | 2022-08-15 20:37:08 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-15 20:37:08 +0300 |
commit | bec58690c1d70a97e9498c05857aae03c7565fd4 (patch) | |
tree | 3696a7596e864c33aea8ffefaaf1406b83c3f789 /userguide | |
parent | e3c036026df562cbaf71899cae87771dca2be029 (diff) |
UG: copyedits of Prism section (#1148)
Diffstat (limited to 'userguide')
-rw-r--r-- | userguide/content/en/docs/adding-content/lookandfeel.md | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/userguide/content/en/docs/adding-content/lookandfeel.md b/userguide/content/en/docs/adding-content/lookandfeel.md index b145261..30a4d1f 100644 --- a/userguide/content/en/docs/adding-content/lookandfeel.md +++ b/userguide/content/en/docs/adding-content/lookandfeel.md @@ -175,15 +175,13 @@ Docsy includes JavaScript and CSS files for a basic Prism configuration, which s * Code blocks styled with the Prism `Default` theme * Copy to clipboard buttons on code blocks -* Syntax highlighting for a number of common languages, as specified in the following Prism download link: +* Syntax highlighting for a number of common languages, as specified in the following Prism download link, [Customize your download][prismjs-download+]. -```none - https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript+bash+c+csharp+cpp+go+java+markdown+python+scss+sql+toml+yaml&plugins=toolbar+copy-to-clipboard -``` +[prismjs-download+]: https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript+bash+c+csharp+cpp+go+java+markdown+python+scss+sql+toml+yaml&plugins=toolbar+copy-to-clipboard ### Code blocks with no language -By default Prism code highlighting styles are not applied to code blocks without a specified language, instead you get Docsy's default style of grey with black text. To apply Prism styling to code blocks with no language or a language not supported by Prism, specify `none` as the language after your triple backticks. +By default, Prism code highlighting styles are not applied to code blocks without a specified language, instead you get Docsy's default style of grey with black text. To apply Prism styling to code blocks with no language or a language not supported by Prism, specify `none` as the language after your triple backticks. ### Extending Prism for additional languages or plugins |