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

XML Code block #2

Closed
TobiasRoeding opened this issue Sep 1, 2012 · 1 comment
Closed

XML Code block #2

TobiasRoeding opened this issue Sep 1, 2012 · 1 comment

Comments

@TobiasRoeding
Copy link

Is there a possibility to post XML Code into markdown, without editing all the "<" to "&lt" and ">" to "&gt" ?

@phistep
Copy link
Owner

phistep commented Sep 4, 2012

Code blocks can be included and will be escaped correctly when using the back tick (```) for inline code (doc) or indenting the whole XML block with four spaces (doc). If you use HTML without indenting it or marking it as code with a back tick, it works just like regular HTML.

Example:

# Headline

    <b>This line isn't bold</b>
    <i>and this one is not italic</i>

<b>but *this one* is</b>

Will render to:

Headline

<b>This line isn't bold</b>
<i>and this one is not italic</i>

but this one is

@phistep phistep closed this as completed Sep 4, 2012
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