-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Added split code blocks to home page #573
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
Conversation
45b72c7
to
881b47f
Compare
Looks good to me. Do you want to add anything else to the PR? |
Can you rebase against |
881b47f
to
22f9e67
Compare
@bebraw rebased |
} | ||
|
||
codeArray.forEach(item => { | ||
// if item is not code, then check for html tags and parse accordingly |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What happens with code in backticks (e.g. `<script>`)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I still need to cover this scenario, when we use only single backtick
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Single backtick is now covered as well.
22f9e67
to
39a5fb0
Compare
@SpaceK33z can you look at it again please |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested this out and it works!
@bebraw, could you verify the code is good? I can't really comment on that part. You can merge after that.
Resolves #350
Now you can write HTML directly into the markdown files.