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

example of syntax highlighted code in Halogen using PrismJS #285

Open
afcondon opened this issue Jul 19, 2021 · 6 comments
Open

example of syntax highlighted code in Halogen using PrismJS #285

afcondon opened this issue Jul 19, 2021 · 6 comments
Labels
recipe-request Requests for someone to build a recipe for their problem

Comments

@afcondon
Copy link
Contributor

Syntax highlighted code in a Halogen App

HalogenSyntaxHighlightedCode

Each recipe name must be unique. Use PascalCase.

Recipe Description

No idea if this would be worthwhile but i'm open to generating the recipe if you'd like it.
Here's how i solved it, recipe would presumably be more or less just that:

https://discourse.purescript.org/t/syntax-highlighting-of-purescript-code-in-halogen-app-with-prismjs/2476/3?u=afc

@afcondon afcondon added the recipe-request Requests for someone to build a recipe for their problem label Jul 19, 2021
@JordanMartinez
Copy link
Owner

Yeah, this is worth it. Mind adding it?

@afcondon
Copy link
Contributor Author

I'd be happy to.

@afcondon
Copy link
Contributor Author

Ah, just realized that https://github.com/rnons/purescript-html-parser-halogen/releases/tag/v1.0.0-rc.2 which actually makes this possible is not in the package set...i could try to add it to the package-set but the -rc.2 seems like it should get bumped...i'll mail the author...

@JordanMartinez
Copy link
Owner

Ah... yeah...

@afcondon
Copy link
Contributor Author

Ping kindly responded that he'd try to publish the parser package to the package set this weekend if he had time. ❤️
I'll pick it up again when he has done that.

@JordanMartinez
Copy link
Owner

Sounds good!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
recipe-request Requests for someone to build a recipe for their problem
Projects
None yet
Development

No branches or pull requests

2 participants