Giter Site home page Giter Site logo

remark-behead's People

Contributors

crutchcorn avatar dependabot[bot] avatar mopacax avatar mrzmmr avatar paescuj avatar paulfzimmer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

remark-behead's Issues

remark@next (13)

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)

Should depth 0 be a h1 or p instead of h0?

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?

TypeScript compatibility

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';

require() of ES Module not supported

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.

Update for changes in remark

Hi! 👋

remark just changed: you can read more about the changed here.

That means that this plugin doesn’t work with the latest remark. If you get around to updating, use the previously mentioned changelog for help, but feel free to respond below or ask questions on Gitter!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.