From 287359a26677af4cafb5f1500b8f1e6623e0bf98 Mon Sep 17 00:00:00 2001 From: Jeff Starr Date: Mon, 24 Oct 2016 18:47:59 +0000 Subject: [PATCH] update git-svn-id: https://plugins.svn.wordpress.org/prismatic/trunk@1521333 b8457f37-d9ea-0310-8a92-e5e31aec5664 --- readme.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/readme.txt b/readme.txt index b425ffd..604b728 100644 --- a/readme.txt +++ b/readme.txt @@ -134,7 +134,7 @@ Once the settings are configured, you can enable syntax highlighting for any cod __Note:__ Prism.js highlights both multi-line and single-line code snippets. Highlight.js only supports multi-line code snippets. -With the proper markup in place, you can indicate a specific language by adding a class of language-*** or lang-*** to the <code> tag (where *** is the language identifier). For example, to indicate PHP as the language for a single-line code snippet: +With the proper markup in place, you can indicate a specific language by adding a class of `language-abc` or `lang-abc` to the <code> tag (where "abc" is the language identifier). For example, to indicate PHP as the language for a single-line code snippet: @@ -156,7 +156,7 @@ Likewise, to indicate HTML as the language for a multi-line code snippet: So the prefix of the class names are the same for Prism.js and Highlight.js. The difference is the language identifier used to specify each language. Check out the following "About Prism.js" and "About Highlight.js" sections for more information. -__Note:__ In addition to detecting the language- and lang- prefixes, Highlight.js also will try to auto-detect the language without it being specified. Plus as an option, you can enable the Highlight.js setting, "Support no-prefix class names" to enable use of language identifiers without any language- or lang- prefix. +__Note:__ In addition to detecting the `language-` and `lang-` prefixes, Highlight.js also will try to auto-detect the language without it being specified. Plus as an option, you can enable the Highlight.js setting, "Support no-prefix class names" to enable use of language identifiers without any `language-` or `lang-` prefix.