Skip to content

fix: strikethrough support in the importer#392

Merged
chrischrischris merged 2 commits intomainfrom
ccc-178
May 5, 2026
Merged

fix: strikethrough support in the importer#392
chrischrischris merged 2 commits intomainfrom
ccc-178

Conversation

@chrischrischris
Copy link
Copy Markdown
Contributor

Fixes #178

Imports remarkGfmNoLink from @adobe/helix-markdown-support for strikethrough support

Also adds tests for mdToDocDom

@aem-code-sync
Copy link
Copy Markdown

aem-code-sync Bot commented Apr 24, 2026

Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch.
In case there are problems, just click the checkbox below to rerun the respective action.

  • Re-sync branch
Commits

Comment thread nx/utils/converters.js
// convert to mdast
const mdast = unified()
.use(remarkParse)
.use(remarkGfmNoLink)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like this also supports other things that we don't (like foot notes or checklists) - do they use the same plugin in the helix pipeline, and how do they prevent parsing that stuff? Not sure if necessary, it would get stripped out further along anyway.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@chrischrischris chrischrischris merged commit 49a6b09 into main May 5, 2026
2 checks passed
@chrischrischris chrischrischris deleted the ccc-178 branch May 5, 2026 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Importing content that has "strikethrough"'s is being escaped

2 participants