Commit 53f488bd authored by 박민석's avatar 박민석

add option highlightjs-languages

parent 2ac07cf0
...@@ -9,7 +9,4 @@ content: ...@@ -9,7 +9,4 @@ content:
ui: ui:
bundle: bundle:
url: https://gitlab.com/antora/antora-ui-default/-/jobs/artifacts/HEAD/raw/build/ui-bundle.zip?job=bundle-stable url: https://gitlab.com/antora/antora-ui-default/-/jobs/artifacts/HEAD/raw/build/ui-bundle.zip?job=bundle-stable
snapshot: true snapshot: true
asciidoc: \ No newline at end of file
attributes:
source-highlighter: highlight.js
\ No newline at end of file
...@@ -6,6 +6,8 @@ include::../attributes/dir_attrs.adoc[] ...@@ -6,6 +6,8 @@ include::../attributes/dir_attrs.adoc[]
include::../attributes/common_css.adoc[] include::../attributes/common_css.adoc[]
:source-highlighter: highlight.js :source-highlighter: highlight.js
:highlightjs-theme: atom-one-dark :highlightjs-theme: atom-one-dark
:highlightjs-languages: ruby, c, javascript
// :source-highlighter: pygments // :source-highlighter: pygments
// :pygments-style: material // :pygments-style: material
// :pygments-linenums-mode: inline // :pygments-linenums-mode: inline
...@@ -328,13 +330,11 @@ Caused by: HttpError: HTTP Error: 401 HTTP Basic: Access Denied ...@@ -328,13 +330,11 @@ Caused by: HttpError: HTTP Error: 401 HTTP Basic: Access Denied
.... ....
[source,ruby] [source,ruby]
---- ----
<pre><code>
require 'sinatra' \<1> require 'sinatra' \<1>
get '/hi' do \<2> \<3> get '/hi' do \<2> \<3>
"Hello World!" "Hello World!"
end end
</pre></code>
---- ----
<1> Library import <1> Library import
<2> URL mapping <2> URL mapping
...@@ -355,6 +355,11 @@ end ...@@ -355,6 +355,11 @@ end
<2> URL mapping <2> URL mapping
<3> Response block <3> Response block
[source,javascript]
---
const str = 'javascript';
---
==== 주석 뒤 ==== 주석 뒤
.... ....
[source] [source]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment