@blocz/mdx-plugin-detect-imports

# TL;DR

Usage no npm install needed!

<script type="module">
  import bloczMdxPluginDetectImports from 'https://cdn.skypack.dev/@blocz/mdx-plugin-detect-imports';
</script>

README

@blocz/mdx

Commands

  • yarn build: build all packages in the correct order
  • yarn test: run all tests
  • yarn deploy: deploy all packages
    • For next version, yarn deploy -v 0.5.1-beta.3 --tag next
    • For stable version: yarn deploy -v 0.6.0
  • yarn format:check: to check the format of the code
  • yarn format:fix: to format the code

ToDo

  • detect import statements
  • create a MDX loader that parse the content, detect the imports and add them to a scope
  • create a runtime tool that parse, render it's content, load imports based on a given scope and load export statements