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

[feature] markdown syntax highlighting of description #13

Open
masukomi opened this issue Nov 28, 2022 · 0 comments
Open

[feature] markdown syntax highlighting of description #13

masukomi opened this issue Nov 28, 2022 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers
Milestone

Comments

@masukomi
Copy link
Member

I've been using markdown in my description blocks in v2, because it looks great when exported to a static blog, and is very readable when you run tooloo show <command>

But it would be much nicer if we had actual syntax highlighting like that provided by the following projects:

I don't believe there is currently a Raku library that provides this.

Short term hacky fix

Check if glow is installed (Charm's cli wrapper around glamour), give it a tempfile to render, and insert the output into our output.

Long term fix

Port Glamor (or similar) to Raku, and use that.

@masukomi masukomi added the enhancement New feature or request label Nov 28, 2022
@masukomi masukomi added this to the 2.0.0 milestone Nov 28, 2022
@masukomi masukomi added the good first issue Good for newcomers label Nov 28, 2022
@masukomi masukomi changed the title markdown syntax highlighting of description [feature] markdown syntax highlighting of description Jan 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant