mrzmmr / remark-behead Goto Github PK
View Code? Open in Web Editor NEWRemark plugin to increase or decrease markdown heading weight.
License: MIT License
Remark plugin to increase or decrease markdown heading weight.
License: MIT License
remark is switching to a new parser internally (remarkjs/remark#536
).
It seems this plugin should be fine, however, it would be good to check that in the future (there is 13.0.0-alpha.0
published now, and one or two more will come before the release)
Hi, great plugin!
I notice that with option { depth: 1 }
, my h6
stays h6
; but with setting { depth: -1 }
, my h1
becomes h0
.
I think logically h1
should stay h1
, or become a different tag like p
instead?
import behead from 'remark-behead';
Could not find a declaration file for module 'remark-behead'. 'c:/Users/Francisco/Documents/baikal-global/developers/node_modules/remark-behead/index.js' implicitly has an 'any' type.
Try npm install @types/remark-behead
if it exists or add a new declaration (.d.ts) file containing declare module 'remark-behead';
Error: require() of ES Module /workspaces/app/node_modules/unist-util-find/index.js from /workspaces/app/node_modules/unist-util-find-all-between/index.js not supported.
Instead change the require of /workspaces/app/node_modules/unist-util-find/index.js in /workspaces/app/node_modules/unist-util-find-all-between/index.js to a dynamic import() which is available in all CommonJS modules.
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.