You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
= Example Manual
Doc Writer <doc.writer@example.org>
2014-09-09
:icons: font
:source-highlighter: rouge
:rouge-style: monokai
:stylesdir: assets/styles/
:linkcss:
This is a user manual for an example project.
[#introduction]
== Introduction
This project does something.
We just haven't decided what that is yet.
[#source-code]
== Source Code
[source,java]
.Java code from project
----
package com.diguage;
/**
* @author D瓜哥 · https://www.diguage.com/
*/
public class Main {
public static void main(String[] args)
System.out.println("Hello, world");
}
}
----
This page was built by the following command:
$ mvn
The highlighter options are :source-highlighter: rouge and :rouge-style: monokai. But the generated style file is rouge-github.css.
If I use monokai, the generated style file is rouge-github.css. But the source-code.html links to rouge-monokai.css.
Hi @diguage, thanks for the report; I was able to reproduce the behavior you have described.
Asciidoctor 2.0.17, with the stock html5 converter, writes out the stylesheet as rouge-monokai.css and references it correctly in the output HTML. However, with asciidoctor-multipage, rouge-github.css is written out instead while rouge-monokai.css is referenced in the HTML.
The example:
The highlighter options are
:source-highlighter: rouge
and:rouge-style: monokai
. But the generated style file isrouge-github.css
.If I use
monokai
, the generated style file isrouge-github.css
. But thesource-code.html
links torouge-monokai.css
.It genereated the
<link rel="stylesheet" href="assets/styles/rouge-monokai.css">
, but did not generate the style file:The segemnt of
source-code.html
:rouge-monokai.css
should be generated. It is notrouge-github.css
.The text was updated successfully, but these errors were encountered: