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

fix code inline normalize #334

Merged
merged 3 commits into from
May 10, 2019
Merged

fix code inline normalize #334

merged 3 commits into from
May 10, 2019

Conversation

OpportunityLiu
Copy link
Contributor

@OpportunityLiu OpportunityLiu commented Apr 29, 2019

The old normalize renderer only use two `` for code inlines which contain `.

Add:

  1. When n of continuous ` is included in the content, n+1 of ` will be used as delimiter.
  2. When the content starts or ends with `, a space will be added to separate delimiter and content.
  3. When the content is empty, a space will be used as content to prevent it be rendered to ``.
    a. `` 
    b. ` `
    
    a. ``
    b.

@OpportunityLiu
Copy link
Contributor Author

We need a .gitattributes file

@xoofx xoofx merged commit 0735042 into xoofx:master May 10, 2019
@xoofx
Copy link
Owner

xoofx commented May 10, 2019

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

Successfully merging this pull request may close these issues.

3 participants