executablebooks / markdown-it-docutils

A markdown-it plugin for implementing docutils style roles/directives.
https://executablebooks.github.io/markdown-it-docutils/
MIT License
12 stars 8 forks source link

🔧 MAINTAIN: Create module exports for internal classes #11

Closed rowanc1 closed 2 years ago

rowanc1 commented 3 years ago

Allows creation of Directives and Roles externally.

This pushes the exports down into the various folders and exposes some of the classes to external packages. This is needed for other packages to create new roles/directives without knowing the internal structure of the library.

rowanc1 commented 2 years ago
rowanc1 commented 2 years ago

This was the error that prompted me to add that option:

image

Seems like a solid thing to turn on in most cases.

We are kicking #17 to another PR and this can come in now!

rowanc1 commented 2 years ago

Woot! Thanks!