forked from sindresorhus/github-markdown-css
-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
129 additions
and
32 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
|
@@ -17,28 +17,33 @@ | |
</head> | ||
<body> | ||
<article class="markdown-body"> | ||
<h1><a id="user-content-github-markdown-css-demo" class="anchor" href="#github-markdown-css-demo" aria-hidden="true"><span class="octicon octicon-link"></span></a>GitHub Markdown CSS demo</h1> | ||
<h1><a id="user-content-github-markdown-css-demo" class="anchor" href="#github-markdown-css-demo" aria-hidden="true"><span class="octicon octicon-link"></span></a>GitHub Markdown CSS Smartisan</h1> | ||
|
||
<p><a name="user-content-headers"></a></p><a name="user-content-headers"> | ||
|
||
</a><h2><a name="user-content-headers"></a><a id="user-content-headers" class="anchor" href="#headers" aria-hidden="true"><span class="octicon octicon-link"></span></a>Headers</h2> | ||
|
||
<pre lang="no-highlight"><code># H1 | ||
## H2 | ||
### H3 | ||
#### H4 | ||
##### H5 | ||
###### H6 | ||
|
||
Alternatively, for H1 and H2, an underline-ish style: | ||
|
||
Alt-H1 | ||
====== | ||
<blockquote> | ||
<p>Skip a line and | ||
indent the >'s four spaces.</p> | ||
</blockquote> | ||
<div class="highlight highlight-js"><pre><span class="pl-k">var</span> gulp <span class="pl-k">=</span> <span class="pl-c1">require</span>(<span class="pl-s"><span class="pl-pds">'</span>gulp<span class="pl-pds">'</span></span>); | ||
<span class="pl-k">var</span> myth <span class="pl-k">=</span> <span class="pl-c1">require</span>(<span class="pl-s"><span class="pl-pds">'</span>gulp-myth<span class="pl-pds">'</span></span>); | ||
gulp.task(<span class="pl-s"><span class="pl-pds">'</span>default<span class="pl-pds">'</span></span>, <span class="pl-k">function</span> () { | ||
<span class="pl-k">return</span> gulp.<span class="pl-c1">src</span>(<span class="pl-s"><span class="pl-pds">'</span>src/app.css<span class="pl-pds">'</span></span>) | ||
.pipe(myth()) | ||
.pipe(gulp.dest(<span class="pl-s"><span class="pl-pds">'</span>dist<span class="pl-pds">'</span></span>)); | ||
});</pre> | ||
</div> | ||
|
||
Alt-H2 | ||
------ | ||
</code></pre> | ||
<ol> | ||
<li>First ordered list item</li> | ||
<li>Another item | ||
<li>Unordered sub-list.</li> | ||
<li>Actual numbers don't matter, just that it's a number</li> | ||
<ol> | ||
|
||
<img src="codeImg.png" alt=""> | ||
<h1><a id="user-content-h1" class="anchor" href="#h1" aria-hidden="true"><span class="octicon octicon-link"></span></a>H1</h1> | ||
|
||
<h2><a id="user-content-h2" class="anchor" href="#h2" aria-hidden="true"><span class="octicon octicon-link"></span></a>H2</h2> | ||
|
@@ -51,14 +56,30 @@ <h5><a id="user-content-h5" class="anchor" href="#h5" aria-hidden="true"><span c | |
|
||
<h6><a id="user-content-h6" class="anchor" href="#h6" aria-hidden="true"><span class="octicon octicon-link"></span></a>H6</h6> | ||
|
||
|
||
<pre lang="no-highlight"><code># H1 | ||
## H2 | ||
### H3 | ||
#### H4 | ||
##### H5 | ||
###### H6 | ||
|
||
Alternatively, for H1 and H2, an underline-ish style: | ||
|
||
Alt-H1 | ||
====== | ||
|
||
Alt-H2 | ||
------ | ||
</code></pre> | ||
|
||
|
||
<p>Alternatively, for H1 and H2, an underline-ish style:</p> | ||
|
||
<h1><a id="user-content-alt-h1" class="anchor" href="#alt-h1" aria-hidden="true"><span class="octicon octicon-link"></span></a>Alt-H1</h1> | ||
|
||
<h2><a id="user-content-alt-h2" class="anchor" href="#alt-h2" aria-hidden="true"><span class="octicon octicon-link"></span></a>Alt-H2</h2> | ||
|
||
<p><a name="user-content-headers"></a><a name="user-content-emphasis"></a></p><a name="user-content-emphasis"> | ||
|
||
</a><h2><a name="user-content-emphasis"></a><a id="user-content-emphasis" class="anchor" href="#emphasis" aria-hidden="true"><span class="octicon octicon-link"></span></a>Emphasis</h2> | ||
|
||
<pre lang="no-highlight"><code>Emphasis, aka italics, with *asterisks* or _underscores_. | ||
|
@@ -1849,6 +1870,6 @@ <h3 id="user-content-backslash"><a id="user-content-backslash-escapes" class="an | |
.pipe(gulp.dest(<span class="pl-s"><span class="pl-pds">'</span>dist<span class="pl-pds">'</span></span>)); | ||
});</pre></div> | ||
</article> | ||
<a href="https://github.com/sindresorhus/github-markdown-css"><img style="position: absolute; top: 0; right: 0; border: 0; width: 149px; height: 149px;" src="http://aral.github.com/fork-me-on-github-retina-ribbons/[email protected]" alt="Fork me on GitHub"></a> | ||
<a href="https://github.com/nihaojob/github-markdown-css-smartisan"><img style="position: absolute; top: 0; right: 0; border: 0; width: 149px; height: 149px;" src="http://aral.github.com/fork-me-on-github-retina-ribbons/[email protected]" alt="Fork me on GitHub"></a> | ||
</body> | ||
</html> |
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