Skip to content

do not convert links to markdown data files to html#447

Open
zkamvar wants to merge 3 commits into
mainfrom
no-convert-data-md-ext
Open

do not convert links to markdown data files to html#447
zkamvar wants to merge 3 commits into
mainfrom
no-convert-data-md-ext

Conversation

@zkamvar

@zkamvar zkamvar commented May 2, 2023

Copy link
Copy Markdown
Contributor

This will prevent links to markdown files under episodes/data from being converted to HTML.

This issue was found in carpentries/lesson-transition#60 where the lesson uses a markdown file as data. Transforming the link from a link to the github repository to a relative link cause it to accidentally transform to HTML.

zkamvar added 3 commits May 2, 2023 16:07
This came up in
carpentries/lesson-transition#60 where they
use a markdown file as data for regex. When I made the links local,
these were being converted to HTML. This will fix that situation.
zkamvar added a commit to carpentries/lesson-transition that referenced this pull request May 2, 2023
This buys me some time to make sure carpentries/sandpaper#447
will not break a lot of things.
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.

1 participant