developer-content
developer-content copied to clipboard
Code Import
Problem
Solves #170
Summary of Changes
-
added a script to import code files
-
does supports dev and build mode for md and mdx files
-
supports this syntax (ignore square brackets) [```]language file="filepath.ext" ..... [`` `]
-
added pre-build script, before building, import code files and then builds contentlayer project
-
added dev script to import code files at
development
-
to import code use
yarn code-import