Skip to content

What causes two leading spaces to be removed from template strings? #2588

Answered by wooorm
shepmaster asked this question in Q&A
Discussion options

You must be logged in to vote

I'm still not clear on which part of Markdown

Expressions is the part of “markdown” that does that.
MDX, the language, extends markdown.
Expressions are one extension.
When you type {, an expression is opened, and that expression extensions allows an indent, of 2 spaces.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@remcohaszing
Comment options

@wooorm
Comment options

@shepmaster
Comment options

@wooorm
Comment options

Answer selected by shepmaster
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants