What does ‘unlike’ mean in this passage about Markdown?

I’ve also asked this question on meta.mathematica.se

The original text (it has been updated) at https://mathematica.stackexchange.com/editing-help said:

Like code blocks, code spans will be displayed in a monospaced font. Markdown and HTML will not work within them. Note that, [unlike] code blocks, code spans require you to manually escape any HTML within!

I cannot understand what’s the word unlike referring to, and the meaning of manually escape any HTML within.

In my present knowledge of ‘manually escape HTML within’ is to remove manually, however we should manually remove both in code blocks and code spans in the example above. So where I went wrong in comprehending this sentence?

Answer

Preposition unlike has senses “Differently from; not in a like or similar manner” and “In contrast with”.

In the referenced context, unlike is used to denote that text that looks like HTML is treated differently in a code span (text delimited by back-ticks) than it is in a code block (text in 4-space-indented lines).

The phrase “code spans require you to manually escape any HTML within” is predicated upon the idea that you want the text that looks like HTML within a code span to look like HTML in the resulting displayed page. It means that if you don’t add the proper escapes before or around the text that looks like HTML, it won’t appear as such in the result.

Note that editing help for English Language Learners does not include a #code section and the different treatment of HTML in code spans vs code blocks as used in Mathematica Stackexchange and some other Stackexchanges apparently doesn’t apply here.

Attribution
Source : Link , Question Author : HyperGroups , Answer Author : James Waldby – jwpat7

Leave a Comment