diff --git a/readme.txt b/readme.txt index c897eef..d695772 100644 --- a/readme.txt +++ b/readme.txt @@ -318,12 +318,11 @@ So for example, to specify a code block as C++, you would write: Multi-line:
...
- Alternate:
- ...
-
+ Alternate: ...
-To disable Prism.js syntax highlighting for any snippet, simply omit the language class.
+Note: in the previous example, ignore the `class="optional"` added to the `` tag (for the "Alternate" syntax); it is used to prevent markdown from mangling the code example.
+To disable Prism.js syntax highlighting for any snippet, simply omit the language class.
_I'm glad to add more languages, [make a suggestion](https://perishablepress.com/contact/)_
@@ -389,9 +388,9 @@ So for example, to specify a code block as C++, you would write:
Multi-line: ...
- Alternate:
- ...
-
+ Alternate: ...
+
+Note: in the previous example, ignore the `class="optional"` added to the `` tag (for the "Alternate" syntax); it is used to prevent markdown from mangling the code example.
To disable Highlight.js syntax highlighting for any code block, add a class of `nohighlight`, like so: