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

Possible to override the text renderer? #581

Closed
mattcodez opened this issue Apr 17, 2015 · 0 comments
Closed

Possible to override the text renderer? #581

mattcodez opened this issue Apr 17, 2015 · 0 comments

Comments

@mattcodez
Copy link

Hi, this may be a feature request, but is there any way to override the way that plain text is rendered? There's no function on Renderer that is called if the string matches the 'text' rule. The closest hack I can do is to override InlineLexer.prototype.smartypants but if I add markup it gets escaped and I can't override the escape function from within my application. Those methods aren't ideal anyways. Is there anything else I can do for now? Thanks.

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

2 participants