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

Make elements.code and elements.codespan options work as documented #47

Closed
wants to merge 3 commits into from
Closed

Make elements.code and elements.codespan options work as documented #47

wants to merge 3 commits into from

Conversation

Hypnosphi
Copy link
Member

Issue: #38

Current behaviour:
— block code rendering can be overriden only in "components" mode
— inline code is rendered by elements.code not element.codespan

Desired (and documented) behaviour:
— block code rendering can be overriden with elements.code({language, code})
— inline code rendering can be overriden with elements.codespan({children})

@Hypnosphi Hypnosphi changed the title Override code Make elements.code and elements.codespan options work as documented Nov 6, 2017
@danielduan
Copy link
Member

@christianalfoni thanks for opening the doors for us to fix this. If you can merge this and publish a new version for us, it'd be much appreciated!

@mAAdhaTTah
Copy link

Currently running into issues in Spectacle related to this bug.

@Hypnosphi
Copy link
Member Author

Included in #46

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.

None yet

3 participants