forked from markedjs/marked
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request markedjs#1265 from remyrylan/master
CommonMark code block class names
- Loading branch information
Showing
5 changed files
with
13 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
<pre><code class="lang-js">var a = 'hello'; | ||
<pre><code class="language-js">var a = 'hello'; | ||
console.log(a + ' world');</code></pre> | ||
<pre><code class="lang-bash">echo "hello, ${WORLD}"</code></pre> | ||
<pre><code class="lang-longfence">Q: What do you call a tall person who sells stolen goods?</code></pre> | ||
<pre><code class="lang-ManyTildes">A longfence!</code></pre> | ||
<pre><code class="language-bash">echo "hello, ${WORLD}"</code></pre> | ||
<pre><code class="language-longfence">Q: What do you call a tall person who sells stolen goods?</code></pre> | ||
<pre><code class="language-ManyTildes">A longfence!</code></pre> | ||
<p>How about an empty code block?</p> | ||
<pre><code class="lang-js"></code></pre> | ||
<pre><code class="language-js"></code></pre> | ||
<p>How about a code block with only an empty line?</p> | ||
<pre><code class="lang-js"> | ||
<pre><code class="language-js"> | ||
</code></pre> | ||
|
||
<p>With some trailing empty lines:</p> | ||
<pre><code>ciao | ||
|
||
|
||
</code></pre> | ||
</code></pre> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters