Skip to main content
replaced http://meta.stackoverflow.com/ with https://meta.stackoverflow.com/
Source Link

If you build on @ChrisF's solution you can have a full code block if you format something like this

<!-- language: lang-html -->

<pre><code>&lt;div&gt;
    &lt;input name="someInput" value=<b>"highlight"</b>&gt;
&lt;/div&gt;
</code></pre>

Which would produce:

<div>
    <input name="someInput" value="highlight">
</div>

More information can be found in this answeranswer

If you build on @ChrisF's solution you can have a full code block if you format something like this

<!-- language: lang-html -->

<pre><code>&lt;div&gt;
    &lt;input name="someInput" value=<b>"highlight"</b>&gt;
&lt;/div&gt;
</code></pre>

Which would produce:

<div>
    <input name="someInput" value="highlight">
</div>

More information can be found in this answer

If you build on @ChrisF's solution you can have a full code block if you format something like this

<!-- language: lang-html -->

<pre><code>&lt;div&gt;
    &lt;input name="someInput" value=<b>"highlight"</b>&gt;
&lt;/div&gt;
</code></pre>

Which would produce:

<div>
    <input name="someInput" value="highlight">
</div>

More information can be found in this answer

needs a line between the language tag and the actual pre tag
Source Link
Braiam
  • 4.5k
  • 13
  • 154
  • 265

If you build on @ChrisF's solution you can have a full code block if you format something like this

<!-- language: lang-html --> 

<pre><code>&lt;div&gt;
    &lt;input name="someInput" value=<b>"highlight"</b>&gt;
&lt;/div&gt;
</code></pre>

Which would produce:

<div>
    <input name="someInput" value="highlight">
</div>

More information can be found in this answer

If you build on @ChrisF's solution you can have a full code block if you format something like this

<!-- language: lang-html -->
<pre><code>&lt;div&gt;
    &lt;input name="someInput" value=<b>"highlight"</b>&gt;
&lt;/div&gt;
</code></pre>

Which would produce:

<div>
    <input name="someInput" value="highlight">
</div>

More information can be found in this answer

If you build on @ChrisF's solution you can have a full code block if you format something like this

<!-- language: lang-html --> 

<pre><code>&lt;div&gt;
    &lt;input name="someInput" value=<b>"highlight"</b>&gt;
&lt;/div&gt;
</code></pre>

Which would produce:

<div>
    <input name="someInput" value="highlight">
</div>

More information can be found in this answer

added 4 characters in body
Source Link
Braiam
  • 4.5k
  • 13
  • 154
  • 265

If you build on @ChrisF's solution you can have a full code block if you format something like this

<!-- language: lang-html -->
<pre><code>&lt;div&gt;
    &lt;input name="someInput" value=<b>"highlight"</b>&gt;
&lt;/div&gt;
</code></pre>

Which would produce:

<div>
    <input name="someInput" value="highlight">
</div>

More information can be found in this answer

If you build on @ChrisF's solution you can have a full code block if you format something like this

<!-- language: lang-html -->
<pre><code>&lt;div&gt;
    &lt;input name="someInput" value=<b>"highlight"</b>&gt;
&lt;/div&gt;
</code></pre>

Which would produce:

<div>
    <input name="someInput" value="highlight">
</div>

More information can be found in this answer

If you build on @ChrisF's solution you can have a full code block if you format something like this

<!-- language: lang-html -->
<pre><code>&lt;div&gt;
    &lt;input name="someInput" value=<b>"highlight"</b>&gt;
&lt;/div&gt;
</code></pre>

Which would produce:

<div>
    <input name="someInput" value="highlight">
</div>

More information can be found in this answer

Source Link
RonnBlack
  • 4.1k
  • 16
  • 2
Loading