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

Provide a way to ask for highlighting that fails if deps are missing #18

Open
dontlaugh opened this issue Jun 15, 2023 · 3 comments
Open

Comments

@dontlaugh
Copy link

dontlaugh commented Jun 15, 2023

Somehow the caller should be able to ask the library for a highlighted block, without a fallback to unhighlighted.

@finanalyst
Copy link
Owner

The problem is that to have highlighting at all requires a Node dependency, which is large and time consuming. It took me a long time to figure it our because I never use Node for anything else.

Once Liz has got her RakuAST highlighter working, I'll make this happen.

@jubilatious1
Copy link

jubilatious1 commented Nov 14, 2023

Maybe related:

If you go to the ReadMe (Installation) paragraph:

https://github.com/finanalyst/raku-pod-render

and click on "Highlighting":

https://github.com/finanalyst/raku-pod-render/blob/master/Highlighting.md

you get a '404 page-not-found' error.

@finanalyst
Copy link
Owner

@jubilatious1 Thanks for the catch. The problem is that I generate my .md files automatically from .rakudoc files of the same name, and the links are not the same for github and a local version. Most of my free time at the moment is rewriting this module for RakuAST, so I hope that this module will eventually be redundant.
Also the highlighting feature really needs to change.

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

No branches or pull requests

3 participants