Remark plugin to automatically import defined JSX components
Bot releases are visible (Hide)
Published by christian-hackyourshack almost 2 years ago
bc57d1c
Thanks @christian-hackyourshack! - Removed CJS modules from build
Astro (or probably the underlying Vite) would hick-up on the CJS files in the packages and prefer them over the ESM, resulting in not being able to load Remark (which is ESM only).
bc57d1c
]:
Published by christian-hackyourshack almost 2 years ago
bc57d1c
Thanks @christian-hackyourshack! - Removed CJS modules from build
Astro (or probably the underlying Vite) would hick-up on the CJS files in the packages and prefer them over the ESM, resulting in not being able to load Remark (which is ESM only).
Published by christian-hackyourshack almost 2 years ago
1360d78
Thanks @christian-hackyourshack! - Improved robustness of componentDirectivePublished by christian-hackyourshack almost 2 years ago
26a80fd
Thanks @christian-hackyourshack! - Improved CI/CD workflow
Published by christian-hackyourshack almost 2 years ago
26a80fd
Thanks @christian-hackyourshack! - Improved CI/CD workflow
Published by christian-hackyourshack about 2 years ago
5f35fbe
Thanks @christian-hackyourshack! - Added visit helper to mdx index
8ed183c
Thanks @christian-hackyourshack! - Moved toText(Node) method to utils
Published by christian-hackyourshack about 2 years ago
77169e5
Thanks @christian-hackyourshack! - Fixed: Tree manipulation skips other children
Tree manipulation skewed indices of children, hence we now recompute the index after each child
Published by christian-hackyourshack about 2 years ago
80baba2
Thanks @christian-hackyourshack! - Fixed: Tree manipulation of removing current node skips next child
Using splice to remove the current node during visit would skip the next child. Now the child array is copied before moving it.
Published by christian-hackyourshack about 2 years ago
1632e6f
Thanks @christian-hackyourshack! - Added special cases for styleDirective
<li>
receives class correctly now<img>
receives class now, if the :style directive is immediately attached to the imgPublished by christian-hackyourshack about 2 years ago
22638ee
Thanks @christian-hackyourshack! - Transpiled mintest.ts for better interoperabilityPublished by christian-hackyourshack about 2 years ago
23fe58e
Thanks @christian-hackyourshack! - Added binary runner (tsx based)
4a7180e
Thanks @christian-hackyourshack! - Added snapshot feature
Published by christian-hackyourshack about 2 years ago
ee30371
Thanks @christian-hackyourshack! - Initial commit for minimalistic test-runnerPublished by christian-hackyourshack about 2 years ago
5d159b7
Thanks @christian-hackyourshack! - includeDirective now respects exported componentsPublished by christian-hackyourshack about 2 years ago
0eadc6e
Thanks @christian-hackyourshack! - Included JSX compoenents from component directives in relative image resolutionPublished by christian-hackyourshack about 2 years ago
adc0705
Thanks @christian-hackyourshack! - Added feature component directivesPublished by christian-hackyourshack about 2 years ago
33938f9
Thanks @christian-hackyourshack! - Added feature includeDirectivePublished by christian-hackyourshack about 2 years ago
eac523c
Thanks @christian-hackyourshack! - Added remaining open features
Published by christian-hackyourshack about 2 years ago
f0f8f30
Thanks @christian-hackyourshack! - Added a flag to fail on unresolvable JSX components during autoimportPublished by christian-hackyourshack about 2 years ago
7546149
Thanks @christian-hackyourshack! - Relative images: Resolving only for existing reference targetsPublished by christian-hackyourshack about 2 years ago
13243c5
Thanks @christian-hackyourshack! - Added resolution of relative images