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

Externalise code block meta string translation #3

Open
tlawrie opened this issue May 29, 2024 · 2 comments
Open

Externalise code block meta string translation #3

tlawrie opened this issue May 29, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@tlawrie
Copy link
Member

tlawrie commented May 29, 2024

Description

With the use of rehype-pretty-code we can use the filterMetaString option to translate different meta strings to what rehype expects.

For example lines=[1,3] to {1,3}

@tlawrie tlawrie added the enhancement New feature or request label May 29, 2024
@tlawrie
Copy link
Member Author

tlawrie commented May 29, 2024

See line 70 in md.server.ts

@tlawrie
Copy link
Member Author

tlawrie commented Jun 4, 2024

This has been implemented. Needs to be documented.

@tlawrie tlawrie moved this to Backlog in Remix Docs Template Jun 21, 2024
@tlawrie tlawrie moved this from Backlog to In review in Remix Docs Template Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: In review
Development

No branches or pull requests

1 participant