Skip to main content
added 10 characters in body
Source Link
Ulrich Diez
  • 30.9k
  • 8
  • 17

When typing answers in an edit-box of the TeX-LaTeX-StackExchange website, which is based on markdown, then from time to time I introduce control-sequence-tokens/sequences of inline-code not via nesting between backticks as in `\macro` but via nesting between HTML-tags <code> and </code> as in <code>\macro</code>. Usually this yields \macro, i.e., the leading backslash \ of the phrase \macro is present.

But when I do this with control-sequence-tokens whose name's first character is @, then the preceding backslash doesn't show up:

<code>\@currenvir</code> yields: @currenvir.

(The phrase \@currenvir is between HTML-tags <code> and </code> and as far as I know neither the backslash nor @ is not a special/reserved character in HTML.)

Questions:

Why does the preceding backslash not show up in the output at the TeX-LaTeX-StackExchange website if in my markdown/HTML-input it is trailed by @?

Am I overlooking some subtle rule regarding syntax of markdown-input or HTML-input or HTML-inside-markdown-input?
If not: Is this a bug?


In case things render differently on different browsers here is a screenshot of what I get when viewing with Chromium under Debian Linux:

enter image description here

When typing answers in an edit-box of the TeX-LaTeX-StackExchange website, which is based on markdown, then from time to time I introduce control-sequence-tokens/sequences of inline-code not via nesting between backticks as in `\macro` but via nesting between HTML-tags <code> and </code> as in <code>\macro</code>. Usually this yields \macro, i.e., the leading backslash \ of the phrase \macro is present.

But when I do this with control-sequence-tokens whose name's first character is @, then the preceding backslash doesn't show up:

<code>\@currenvir</code> yields: @currenvir.

(The phrase \@currenvir is between HTML-tags <code> and </code> and as far as I know the backslash is not a special/reserved character in HTML.)

Questions:

Why does the preceding backslash not show up in the output at the TeX-LaTeX-StackExchange website if in my markdown/HTML-input it is trailed by @?

Am I overlooking some subtle rule regarding syntax of markdown-input or HTML-input or HTML-inside-markdown-input?
If not: Is this a bug?


In case things render differently on different browsers here is a screenshot of what I get when viewing with Chromium under Debian Linux:

enter image description here

When typing answers in an edit-box of the TeX-LaTeX-StackExchange website, which is based on markdown, then from time to time I introduce control-sequence-tokens/sequences of inline-code not via nesting between backticks as in `\macro` but via nesting between HTML-tags <code> and </code> as in <code>\macro</code>. Usually this yields \macro, i.e., the leading backslash \ of the phrase \macro is present.

But when I do this with control-sequence-tokens whose name's first character is @, then the preceding backslash doesn't show up:

<code>\@currenvir</code> yields: @currenvir.

(The phrase \@currenvir is between HTML-tags <code> and </code> and as far as I know neither the backslash nor @ is a special/reserved character in HTML.)

Questions:

Why does the preceding backslash not show up in the output at the TeX-LaTeX-StackExchange website if in my markdown/HTML-input it is trailed by @?

Am I overlooking some subtle rule regarding syntax of markdown-input or HTML-input or HTML-inside-markdown-input?
If not: Is this a bug?


In case things render differently on different browsers here is a screenshot of what I get when viewing with Chromium under Debian Linux:

enter image description here

added 292 characters in body
Source Link
Ulrich Diez
  • 30.9k
  • 8
  • 17

FromWhen typing answers in an edit-box of the TeX-LaTeX-StackExchange website, which is based on markdown, then from time to time I introduce sequencescontrol-sequence-tokens/sequences of inline-code not via nesting between backticks as in `\macro` but via nesting between HTML-tags <code> and </code> as in <code>\macro</code>. Usually this yields \macro, i.e., the leading backslash \ of the phrase \macro is present.

WhenBut when I do this with control-word tokenssequence-tokens whose name's first character is @, then the preceding backslash doesn't show up:

<code>\@currenvir</code> yields: @currenvir.

(The phrase \@currenvir is between HTML-tags <code> and </code> and as far as I know the backslash is not a special/reserved character in HTML.)

Questions:

Why does the preceding backslash not show up in the output at the TeX-LaTeX-StackExchange website if in my markdown/HTML-input it is trailed by @?

Am I overlooking some subtle rule regarding syntax of markdown-input or HTML-input or HTML-inside-markdown-input?
If not: Is this a bug?


In case things render differently on different browsers here is a screenshot of what I get when viewing with Chromium under Debian Linux:

enter image description here

From time to time I introduce sequences of inline-code not via nesting between backticks as in `\macro` but via nesting between HTML-tags <code> and </code> as in <code>\macro</code>.

When I do this with control-word tokens whose name's first character is @, then the preceding backslash doesn't show up:

<code>\@currenvir</code> yields: @currenvir.

(The phrase \@currenvir is between HTML-tags <code> and </code> and as far as I know the backslash is not a special/reserved character in HTML.)

Questions:

Am I overlooking some subtle rule regarding syntax of markdown-input or HTML-input or HTML-inside-markdown-input?
If not: Is this a bug?


In case things render differently on different browsers here is a screenshot of what I get when viewing with Chromium under Debian Linux:

enter image description here

When typing answers in an edit-box of the TeX-LaTeX-StackExchange website, which is based on markdown, then from time to time I introduce control-sequence-tokens/sequences of inline-code not via nesting between backticks as in `\macro` but via nesting between HTML-tags <code> and </code> as in <code>\macro</code>. Usually this yields \macro, i.e., the leading backslash \ of the phrase \macro is present.

But when I do this with control-sequence-tokens whose name's first character is @, then the preceding backslash doesn't show up:

<code>\@currenvir</code> yields: @currenvir.

(The phrase \@currenvir is between HTML-tags <code> and </code> and as far as I know the backslash is not a special/reserved character in HTML.)

Questions:

Why does the preceding backslash not show up in the output at the TeX-LaTeX-StackExchange website if in my markdown/HTML-input it is trailed by @?

Am I overlooking some subtle rule regarding syntax of markdown-input or HTML-input or HTML-inside-markdown-input?
If not: Is this a bug?


In case things render differently on different browsers here is a screenshot of what I get when viewing with Chromium under Debian Linux:

enter image description here

added 154 characters in body
Source Link
Ulrich Diez
  • 30.9k
  • 8
  • 17

From time to time I introduce sequences of inline-code not via nesting between backticks as in `\macro` but via nesting between tagsHTML-tags <code> and </code> as in <code>\macro</code>.

When I do this with control-word tokens whose name's first character is @, then the preceding backslash doesn't show up:

<code>\@currenvir</code> yields: @currenvir.

(The phrase \@currenvir is between HTML-tags <code> and </code> and as far as I know the backslash is not a special/reserved character in HTML.)

Questions:

Am I overlooking some subtle rule regarding syntax of markdown-input or htmlHTML-input or HTML-inside-markdown-input?
If not: Is this a bug?


In case things render differently on different browsers here is a screenshot of what I get when viewing with Chromium under Debian Linux:

enter image description here

From time to time I introduce sequences of inline-code not via nesting between backticks as in `\macro` but via nesting between tags <code> and </code> as in <code>\macro</code>.

When I do this with control-word tokens whose name's first character is @, then the preceding backslash doesn't show up:

<code>\@currenvir</code> yields: @currenvir.

Questions:

Am I overlooking some subtle rule regarding syntax of markdown-input or html-input?
If not: Is this a bug?


In case things render differently on different browsers here is a screenshot of what I get when viewing with Chromium under Debian Linux:

enter image description here

From time to time I introduce sequences of inline-code not via nesting between backticks as in `\macro` but via nesting between HTML-tags <code> and </code> as in <code>\macro</code>.

When I do this with control-word tokens whose name's first character is @, then the preceding backslash doesn't show up:

<code>\@currenvir</code> yields: @currenvir.

(The phrase \@currenvir is between HTML-tags <code> and </code> and as far as I know the backslash is not a special/reserved character in HTML.)

Questions:

Am I overlooking some subtle rule regarding syntax of markdown-input or HTML-input or HTML-inside-markdown-input?
If not: Is this a bug?


In case things render differently on different browsers here is a screenshot of what I get when viewing with Chromium under Debian Linux:

enter image description here

added 250 characters in body
Source Link
Ulrich Diez
  • 30.9k
  • 8
  • 17
Loading
Source Link
Ulrich Diez
  • 30.9k
  • 8
  • 17
Loading