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

Added Cajun class for formatting and rendering extensions #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

andyleap
Copy link

Hey, this is just something that I worked on for the wiki I'm writing(over at https://github.com/GoWiki/GoWiki) I wanted to add the ability to color links, based off of info like if a page exists on the wiki or not, but there wasn't any easy way that I could see. Let me know if you think a different way would be better.

@m4tty
Copy link
Owner

m4tty commented Mar 20, 2015

Ok, I see what you need. I've thought about how to add/modify the html elements a bit... and might do something a bit larger in scope. e.g. allow a change to any element for a given transform.

@andyleap
Copy link
Author

Would be a rather big change, but it'd be neat to extract out the "renderer" portion, and be able to make a custom renderer. A neat side effect would, If done correctly, would be the ability to render to things other then html, like pdf and such. Would be neat to be able to have a "download as pdf" button on my wiki.

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.

2 participants