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

add option highlightjs-languages

parent 2ac07cf0
......@@ -9,7 +9,4 @@ content:
ui:
bundle:
url: https://gitlab.com/antora/antora-ui-default/-/jobs/artifacts/HEAD/raw/build/ui-bundle.zip?job=bundle-stable
snapshot: true
asciidoc:
attributes:
source-highlighter: highlight.js
\ No newline at end of file
snapshot: true
\ No newline at end of file
......@@ -6,6 +6,8 @@ include::../attributes/dir_attrs.adoc[]
include::../attributes/common_css.adoc[]
:source-highlighter: highlight.js
:highlightjs-theme: atom-one-dark
:highlightjs-languages: ruby, c, javascript
// :source-highlighter: pygments
// :pygments-style: material
// :pygments-linenums-mode: inline
......@@ -328,13 +330,11 @@ Caused by: HttpError: HTTP Error: 401 HTTP Basic: Access Denied
....
[source,ruby]
----
<pre><code>
require 'sinatra' \<1>
get '/hi' do \<2> \<3>
"Hello World!"
end
</pre></code>
----
<1> Library import
<2> URL mapping
......@@ -355,6 +355,11 @@ end
<2> URL mapping
<3> Response block
[source,javascript]
---
const str = 'javascript';
---
==== 주석 뒤
....
[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