How to include a javascript in Asciidoc?

后端 未结 2 1568
广开言路
广开言路 2021-02-13 12:17

I\'m using asciidoctor-maven-plugin to convert .adoc files to html file... Would want to include a link to javascript in the generated html file... Basically would like to see s

2条回答
  •  攒了一身酷
    2021-02-13 12:46

    You can use the passthrough block for that using ++++:

    ++++
    

    Content in a passthrough block is passed to the output unprocessed. That means you can include raw HTML, like this embedded Gist:

    ++++

    Source: http://asciidoctor.org/docs/asciidoc-syntax-quick-reference/#more-delimited-blocks

提交回复
热议问题