W3C Paged Media Viewer
This is a vscode extension for writing printing books using markdown and css paged media.
Goal of this project is:
This is done by 2 lovely great projects:
BE CAREFUL: SIZE OF THIS EXTENSION IS LARGE (ABOUT 200MiB), SO YOU SHOULD AVOID DOWNLOADING THIS EXTENSION VIA MOBILE NETWORK.
For users, you can install this extension via vscode extension marketplace.
For developers, you can clone code for debugging and/or developing.
Usage / Syntax
As first, vscode supports markdown spec named CommonMark.
As second, paged.js supports @page rule named CSS Paged Media Module Level 3.
And then, this extension extends some useful syntax and features which focus on writing technical books. You can read full specs here.
First Time You Preview...
When you open markdown previewer at first time, you'll encount a warning button at the top-right corner.
This is caused by Content Security Policy (CSP) mismatch between vscode's markdown previewer and this extension. To resolve, you have to click it and change security settings of markdown previewer from "Strict" to "Disable" so that this extension works perfect.
This is by design (for now). This extension works completely offline and won't connect any servers via http/https.
This extension is made from lots of graceful extensions below:
We thank all of them.
MIT License (MIT), which you can read here.