Including a tag <> breaks the subsequent headings render

See the below markdown will not render correctly, with Obsidian. The headings Two, Three, and four dhows with # and do not show as headings. It works fine in other places, e.g. Dillinger

# One
* stuff
    - gitdir=$(git rev-parse --git-dir); scp -p -P 29418 <this lt gt tag breaks the render afterwards>

# Two
## Three
- Four

Note, the example renders fine if shown in the forum post but does not in the Obsidan editor.

FWIW (not much, probably), these all work:

# One
* stuff
    - gitdir=$(git rev-parse --git-dir); scp -p -P 29418 \<this lt gt tag breaks the render afterwards>
# Two
## Three
- Four

# One
* stuff
    - gitdir=$(git rev-parse --git-dir); scp -p -P 29418 < this lt gt tag breaks the render afterwards>
# Two
## Three
- Four

# One
* stuff
    - gitdir=$(git rev-parse --git-dir); scp -p -P 29418 <this lt gt tag breaks the render afterwards/>
# Two
## Three
- Four

Thanks, I can’t edit what’s in the command as it would break…why does Obsidian behave differently?

1 Like

This is not a a bug. you should use inline code for that.

1 Like