Note about preserving data in HTML transformation#23
Note about preserving data in HTML transformation#23rawnsley wants to merge 5 commits intoremarkjs:mainfrom
Conversation
That seems like the Use example? I am not sure how much this adds compared to the existing examples/ Perhaps this plugin can go in “Related”? |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #23 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 2 2
Lines 40 40
=========================================
Hits 40 40 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@wooorm Moved to "Related" as suggested. Regarding how much it adds: I think an example of how to transform to HTML without writing your own custom transformer is valuable. |
|
It is quite intentional that unified pushes people to make plugins, learn about ASTs! |
Initial checklist
Description of changes
Added a note about how to transform Markdown directives to HTML. It took me some searching to find
remark-directive-rehypeand it feels like adding ids classes and attributes to HTML output is an important use case for this library; possibly even the primary use case.