markdown : importing files + toc generation

This page summarizes the projects mentioned and recommended in the original post on /r/npm

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • comment-mark

    Interpolate strings with HTML comment markers!

  • comment-mark does exactly what you're describing to interpolate content into a markdown file using comments as placeholders. You'll have to write a script to inject what you want though but should be straight forward. Here's an example snippet:

  • remark

    markdown processor powered by plugins part of the @unifiedjs collective (by remarkjs)

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • github-markdown-toc

    Easy TOC creation for GitHub README.md

  • As for the table of contents, you can either use github-markdown-toc or markdown-toc (on npm).

  • markdown-toc

    API and CLI for generating a markdown TOC (table of contents) for a README or any markdown files. Uses Remarkable to parse markdown. Used by NASA/openmct, Prisma, Joi, Mocha, Sass, Prettier, Orbit DB, FormatJS, Raneto, hapijs/code, webpack-flow, docusaurus, release-it, ts-loader, json-server, reactfire, bunyan, husky, react-easy-state, react-snap, chakra-ui, carbon, alfresco, repolinter, Assemble, Verb, and thousands of other projects.

  • As for the table of contents, you can either use github-markdown-toc or markdown-toc (on npm).

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts