How to set @bottom-center with JavaScript variable/DOM Node content?
Hello,
I'm parsing Markdown to HTML, and I'd like to print at the bottom of the page some data contained in a front-matter metadata field. This way, I cannot see how to set the value directly in the CSS stylesheet.
My HTML looks like this:
<html>
<head>
<... polyfill>
<... css>
<... myJS>
</head>
<body data-markdown>
---
footer: Bla
---
# Chapter 1
</body>
</html>
I did not quite got how to use the handlers to write the relevant content in the relevant area of each page.
I also did not find an API reference to know what I can use on the JavaScript side of Paged.js, nor a CSS reference where to look after the rules and properties I can set (I'm not used to the @page
standard).