Skip to content
forked from aexol-studio/mdtx

Markdown Transformer. Transform markdown files to different formats

Notifications You must be signed in to change notification settings

jamstackpb/mdtx

 
 

Repository files navigation

MDtx NPM Version NPM Version NPM Version yyyyy

Inspired by generative programming. I was learning Elm language at home as usual in the evening and I was missing all that generative stuff from Elm libs in TS.

Alt Text

What is MDtx?

  • Just add Markdown files with gray matter and it will generate typings for them,
  • Generated typings from Markdowns can get automatically converted into html structure,
  • There is a Next JS Plugin to work faster with MDtx on NextJS,

What we serve?

dfdfsdcs

GitHub package.json version (subfolder of monorepo) | GitHub package.json version (subfolder of monorepo) | GitHub package.json version (subfolder of monorepo)

Readme CLI

Installing MDtx

npm i mdtx

Initializing MDtx

mdtx init

After initializing a config file mdtx.json will appear with:

{
  "in": "./content",
  "out": "./src",
}
  • in: string - is the designated folder with content, (default: "./content")
  • out: string - is the designated folder to generate mdtx.ts file, (default: "./src")

Optionally:

  • markdownToHtml: boolean - allow mdtx to convert md content to html content. (default: false)

Watch mode (on "in" path)

mdtx

Build mode (trigger once)

mdtx -b

Roadmap

  • NextJS plugin
  • Gatsby plugin
  • Tree building
  • Summary building
  • Other language generation

About

Markdown Transformer. Transform markdown files to different formats

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 98.8%
  • Other 1.2%