Closed xatapult closed 4 years ago
I want to add a specific title to a page and use the main.xml header.
main.xml
At the top of the Markdown page there is a piece of XML:
<pubmeta> <header>main</header> <title>XProc 3.0 - Home</title> </pubmeta>
The <title> alters the page title but does not insert a <h1> with this title at the top of the page.
<title>
<h1>
When I manually insert an <h1>My title</h1> at the top of the page it disappears in the build process (strangely enough an <h2>...</h2> stays in...)
<h1>My title</h1>
<h2>...</h2>
The Markdown title markers #, ## etc. are not recognized by the build process.
#
##
So I'm stuck.
I would prefer that an automatic <h1> would be inserted at the top of the page with the contents of the pubmeta/title element.
pubmeta/title
@ndw If you can tell me in a nutshell where the magic happens I could try to fix some of this myself?
It's just XProc pipelines in tools/xpl
Fixed.
I want to add a specific title to a page and use the
main.xml
header.At the top of the Markdown page there is a piece of XML:
The
<title>
alters the page title but does not insert a<h1>
with this title at the top of the page.When I manually insert an
<h1>My title</h1>
at the top of the page it disappears in the build process (strangely enough an<h2>...</h2>
stays in...)The Markdown title markers
#
,##
etc. are not recognized by the build process.So I'm stuck.
I would prefer that an automatic
<h1>
would be inserted at the top of the page with the contents of thepubmeta/title
element.