Skip to content

Commit 3e7a51f

Browse files
committed
Use convert to be able to see the ReadMe.md MarkDown as HTML.
1 parent f1c188d commit 3e7a51f

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

doc/doc.html

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!DOCTYPE html SYSTEM "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2+
<html xmlns="http://www.w3.org/1999/xhtml">
3+
<head>
4+
<title>Doc</title>
5+
</head>
6+
<body>
7+
<a href="md2html:/urn:dim/README.md">ReadMe.md</a>
8+
9+
10+
</body>
11+
</html>

info-model/rules/catalog.xml

+3
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
<rewriteURI uriStartString="urn:rules:" rewritePrefix="./"/>
1616
<rewriteURI uriStartString="urn:processors:" rewritePrefix="../../gen-rules/"/>
1717
<rewriteURI uriStartString="urn:info-model/" rewritePrefix="../"/>
18+
<rewriteURI uriStartString="urn:dim/" rewritePrefix="../../"/>
1819

1920
<!-- aliases for conversion protocols -->
2021
<rewriteURI uriStartString="dim2sch:/" rewritePrefix="convert:/processor=xslt;ss=urn:processors:dim2sch.xsl!/"/>
@@ -25,4 +26,6 @@
2526
<!-- convert:/processor=xslt;ss=urn:processors:dim2sch.xsl!/urn:info-model/bm_InformationModelBookmap.ditamap -->
2627
<!-- urn:info-model/c_InformationTypes.dita -->
2728

29+
<rewriteURI uriStartString="md2html:/" rewritePrefix="convert:/processor=xhtml/processor=js;js=urn:processors:pagedown%2FMarkdown.Converter.js;fn=convertExternal!/"/>
30+
<!-- md2html:/urn:dim/README.md -->
2831
</catalog>

0 commit comments

Comments
 (0)