-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathplugin.xml
executable file
·57 lines (51 loc) · 2.06 KB
/
plugin.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="dita-ot/plugin.rnc" type="application/relax-ng-compact-syntax"?>
<plugin id="fox.jason.prismjs" version="4.1.0">
<feature extension="dita.conductor.lib.import" file="lib/prismjs-1.5.jar"/>
<feature extension="ant.import" file="process_prismjs.xml"/>
<!-- Ensure the plugin's error and logging messages are available -->
<feature extension="dita.xsl.messages" file="resource/messages.xml"/>
<!--
This plugin requires extended CSS
-->
<require plugin="fox.jason.extend.css"/>
<!-- PDF extension point -->
<feature extension="dita.xsl.xslfo" value="xsl/xslfo.xsl" type="file"/>
<!-- HTML5 extension points -->
<feature extension="dita.xsl.html5" value="xsl/line-numbers.xsl" type="file"/>
<!-- XHTML extension points -->
<feature extension="dita.xsl.xhtml" value="xsl/line-numbers.xsl" type="file"/>
<!-- Uses the default preprocess.pre and post extension points -->
<feature extension="depend.preprocess.pre" value="prismjs.init"/>
<feature extension="depend.preprocess.post" value="prismjs"/>
<!-- Uses the extended CSS extension point -->
<feature extension="extend.css.process" value="prismjs.css.copy"/>
<transtype name="pdf" desc="PDF">
<param
name="prism.default"
desc="Specifies the default Prism language"
type="string"
/>
</transtype>
<transtype name="base-html" abstract="true" desc="HTML-based output">
<param
name="prism.css.theme"
desc="Specifies the location of a custom prism .css color theme file relative to the output directory."
type="string"
/>
<param
name="prism.use.theme"
desc="Specifies a default prism theme to use."
type="string"
>
<val desc="Theme based on Bootstrap 5 colors.">bootstrap</val>
<val default="true" desc="Default Prism.js theme">default</val>
<val desc="Theme based on solarized colors">solarized</val>
</param>
<param
name="prism.default"
desc="Specifies the default Prism language"
type="string"
/>
</transtype>
</plugin>