Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add in fixes from my fork to slashocalypse branch #843

Merged

Conversation

shiyouganai
Copy link
Contributor

@shiyouganai shiyouganai commented Dec 6, 2023

This is mostly a cherry-pick of my fixes as described in #832 to address that issue.

In addition to that, I reworked the custom rehype plugin so that it catches more potential edge-cases, like if someone didn't have a leading / in a relative URL (which is still valid). It is named and described a little more accurately too after the new functionality. Edit: I reverted this part after discussion in favor of a simpler parsing method that does require relative links to have leading forward slashes.

Also of minor note: for a reason I don't know exactly, inline HTML src and href urls are not being passed to the rehype plugin function, so to fix the inline image in the MDX doc, I changed it to a markdown image link and wrapped that in the HTML.

@felixroos felixroos merged commit 74aa85b into tidalcycles:slashocalypse Dec 6, 2023
1 check passed
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.

None yet

2 participants