diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2021-07-18 23:56:46 -0600 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2021-07-29 01:16:52 -0600 |
| commit | 4962e18e7a656349a90dd7679f15f41b992bdeb6 (patch) | |
| tree | 31de8f06d81db34d672f3d94dc7f3c6cd945205d /docs | |
| parent | b4430adc40b958bbc58ee20a68e21ba35a986850 (diff) | |
rename syntax-highlighter-prism.rb to prism-syntax-highlighter.rb
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/modules/syntax-highlighting/examples/prism-syntax-highlighter.rb (renamed from docs/modules/syntax-highlighting/examples/syntax-highlighter-prism.rb) | 0 | ||||
| -rw-r--r-- | docs/modules/syntax-highlighting/pages/custom.adoc | 6 |
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/modules/syntax-highlighting/examples/syntax-highlighter-prism.rb b/docs/modules/syntax-highlighting/examples/prism-syntax-highlighter.rb index 8233c83e..8233c83e 100644 --- a/docs/modules/syntax-highlighting/examples/syntax-highlighter-prism.rb +++ b/docs/modules/syntax-highlighting/examples/prism-syntax-highlighter.rb diff --git a/docs/modules/syntax-highlighting/pages/custom.adoc b/docs/modules/syntax-highlighting/pages/custom.adoc index 9280846d..b2eb937c 100644 --- a/docs/modules/syntax-highlighting/pages/custom.adoc +++ b/docs/modules/syntax-highlighting/pages/custom.adoc @@ -13,13 +13,13 @@ This library runs in the browser, so the methods focus on loading the library. .Syntax highlighter adapter for Prism.js [,ruby] ---- -include::example$syntax-highlighter-prism.rb[] +include::example$prism-syntax-highlighter.rb[] ---- -Save this code to a file named [.path]_syntax-highlighter-prism.rb_. +Save this code to a file named [.path]_prism-syntax-highlighter.rb_. Then require this file when invoking Asciidoctor and set the source-highlighter to prism to activate it: - $ asciidoctor -r ./syntax-highlighter-prism -a source-highlighter=prism document.adoc + $ asciidoctor -r ./prism-syntax-highlighter -a source-highlighter=prism document.adoc You can also define an adapter for a syntax highlighter that runs during conversion. |
