aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/parser.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/parser.rb')
-rw-r--r--lib/parser.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/parser.rb b/lib/parser.rb
index e644dc6..f241c4d 100644
--- a/lib/parser.rb
+++ b/lib/parser.rb
@@ -17,9 +17,12 @@ module NulDoc
template_engine: 'erb',
template_engine_options: { erb: { trim: '<>' } },
attributes: @common_attributes.merge({
+ 'document-type' => document_type,
'source-file-path' => file_path,
'href' => file_path.sub(@content_dir, '').sub('.adoc', '/'),
- 'document-type' => document_type,
+ 'source-highlighter' => 'rouge',
+ 'reproducible' => true,
+ 'sectids' => false,
}),
extension_registry: Asciidoctor::Extensions.create do
tree_processor Nuldoc::Extensions::RevisionHistoryProcessor