injashkin / md-pug-to-html Goto Github PK
View Code? Open in Web Editor NEWMassively converts Markdown files to Html with the ability to apply Pug templates.
License: MIT License
Massively converts Markdown files to Html with the ability to apply Pug templates.
License: MIT License
When the option is enabled, if the user forgot to specify the "description" field in the Frontmatter section of the article, then this field will be filled in automatically with the text taken from the article.
Because the links to the images point to the directory where the article itself is located, and the images are in the images
directory
Implement watch mode to monitor Markdown files and automatically re-render them when they change.
This option should be similar to a similar option in Pug-cli:
-O, --obj <str|path> JSON/JavaScript options object or file
If the file .md
has a name other than index.md
, then this file will be unavailable from the file on the remote server mpth-articles.html
If you call the init() method three times, and then the getDataList() method, the result will be a tripled list, etc.
Regardless of the names of the .md files, the .html files obtained from them have the same name - index. I think it is more correct to have files .html had the same names as .md files.
When specifying a link to a drawing in the article, for example:
![This image](image.png)
outputs an error:
Error: src/article/from-md.pug:3:3
img is a self closing element: <img/> but contains nested content.
At the same time, the corresponding .html
page is not created.
Error: ENOENT: no such file or directory, copyfile 'content/article3/built-with.png' -> 'docs/article3/built-with.png'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.