Skip to content

Commit b505b7e

Browse files
committed
Stack pre blocks
1 parent 3ffbbb2 commit b505b7e

File tree

14 files changed

+66
-21
lines changed

14 files changed

+66
-21
lines changed

build/ecss/markdown/partials.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,13 @@ <h6 id="h6:donecpurusarcuvenenatissednisisedtinciduntmattiselit">H6: Donec purus
5050
<p>Vestibulum ante ipsum primis in <mark>faucibus orci luctus et ultrices posuere</mark> cubilia Curae &#8230; Ut vestibulum libero eu mi sodales tincidunt. Aenean id eleifend lacus. Proin vehicula sapien convallis, <i>dictum justo id, eleifend nibh</i> [phasellus mattis enim eu nisi maximus] <cite>(Dignissim, 2018, pg. 36, mauris rutrum)</cite></p>
5151
</blockquote>
5252

53-
<pre><code class="python">#code block
53+
<p>Here is an example of inline code <code>var = 1</code>, Keyboard controls <kbd>⌘ + V</kbd> and a sample <samp>Does not compute, press: <kbd>Y</kbd> to continue</samp></p>
54+
55+
<pre><code class="python"># code block
5456
print('3 backticks or')
5557
print('indent 4 spaces')
5658
</code></pre>
5759

58-
<p>Here is an example of inline code <code>var = 1</code>, Keyboard controls <kbd>⌘ + V</kbd> and a sample <samp>Does not compute, press: <kbd>Y</kbd> to continue</samp></p>
59-
6060
<table>
6161
<colgroup>
6262
<col />

build/ecss/markdown/specimen.html

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ <h2 id="commonmark">CommonMark</h2>
2323

2424
<h3 id="headers">Headers</h3>
2525

26-
<pre><code class="text">#H1
27-
##H2
28-
###H3
29-
####H4
30-
#####H5
31-
######H6
26+
<pre><code class="text"># H1
27+
## H2
28+
### H3
29+
#### H4
30+
##### H5
31+
###### H6
3232

3333
Alternatively, for H1 and H2, an underline-ish style:
3434

@@ -86,7 +86,7 @@ <h3 id="code">Code</h3>
8686
<p>Blocks of code are surrounded by lines of 3 backticks:</p>
8787

8888
<pre><code class="text">```python
89-
#code block
89+
# code block
9090
print('3 backticks or')
9191
print('indent 4 spaces')
9292
```
@@ -159,7 +159,7 @@ <h5 id="h5">H5</h5>
159159

160160
<p>Sed nisi ligula, tempus ac massa at, <code>volutpat sagittis</code> massa. Praesent placerat congue velit, at tincidunt neque accumsan sit amet.</p>
161161

162-
<pre><code class="python">#code block
162+
<pre><code class="python"># code block
163163
print('3 backticks or')
164164
print('indent 4 spaces')
165165
</code></pre>
@@ -172,6 +172,16 @@ <h6 id="h6">H6</h6>
172172

173173
<p>Cras convallis, <abbr title="abbreviation with link"><a href="#">lectus</a></abbr> vel ultricies vestibulum, est sapien <abbr title="abbreviation with no link">faucibus</abbr> purus, non blandit mi ipsum at libero. Cras bibendum dolor eget justo aliquet, <q>sit amet mollis libero volutpat</q>. Vivamus et <b>elementum lacus</b>, eget feugiat ex. <i>Nulla facilisi</i>.</p>
174174

175+
<pre><code class="python"># code block
176+
print('3 backticks or')
177+
print('indent 4 spaces')
178+
</code></pre>
179+
180+
<pre><code class="python"># code block
181+
print('3 backticks or')
182+
print('indent 4 spaces')
183+
</code></pre>
184+
175185
<h2 id="htmlelementssupported">HTML elements supported</h2>
176186

177187
<p>It can be a little confusing when to use each specific tag, so as a rough guide:</p>

build/stylus/print-first-markdown.css

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/stylus/print-first-markdown.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/stylus/print-first.css

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)