Comments (3)
What do you mean with placeholder?
from markdown2pdf.
May be somthing similar to <!--TOC-->
e.g. <!--pbr-->
and replace the placeholder during HTML creation with <div style="page-break-after: always"></div>
from markdown2pdf.
I am not super convinced by this tbh. It's a feature that's neither in any Markdown spec nor exists in any other parser.
While the <div style="page-break-after: always"></div>
is quite bulky, it's at least a common and documented way of inserting page breaks, that would work with other converters as well.
That's also why I changed the TOC placeholder a bit, to do it similarly as other parsers.
from markdown2pdf.
Related Issues (20)
- Code-Syntax Highlighting
- Default header / footer styling
- Combine several md files to one output pdf file HOT 1
- Option to Generate Table of Contents
- Add option to autodetect language in syntax highlighting
- Problems running in docker container HOT 3
- Change format of numbering of TOC HOT 3
- Setup contributing.md
- Contributing Guide line HOT 3
- Rework TOC options HOT 1
- Bug: remove double bullets from toc
- Error Await mdconvert.Convert(file.md) HOT 8
- Set title in file properties of PDF file HOT 4
- How can I add img element in HeaderHtml? HOT 2
- TOC don't work with cyrillic headers HOT 4
- Make all settings settable in Markdown with comment
- Puppeteer has error HOT 4
- The TOC have an unordered list item page HOT 1
- TOC crashes when no titles available
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from markdown2pdf.