forked from alshedivat/al-folio
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfeed.xml
525 lines (383 loc) · 32.5 KB
/
feed.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><generator uri="https://jekyllrb.com/" version="4.3.3">Jekyll</generator><link href="https://hdocmsu.github.io/feed.xml" rel="self" type="application/atom+xml" /><link href="https://hdocmsu.github.io/" rel="alternate" type="text/html" hreflang="en" /><updated>2024-07-23T00:40:25-07:00</updated><id>https://hdocmsu.github.io/feed.xml</id><title type="html">blank</title><subtitle></subtitle><entry><title type="html">a post with diagrams</title><link href="https://hdocmsu.github.io/2021/07/04/diagrams.html" rel="alternate" type="text/html" title="a post with diagrams" /><published>2021-07-04T10:39:00-07:00</published><updated>2021-07-04T10:39:00-07:00</updated><id>https://hdocmsu.github.io/2021/07/04/diagrams</id><content type="html" xml:base="https://hdocmsu.github.io/2021/07/04/diagrams.html"><![CDATA[<p>This theme supports generating various diagrams from a text description using <a href="https://github.com/zhustec/jekyll-diagrams" target="\_blank">jekyll-diagrams</a> plugin.
Below, we generate a few examples of such diagrams using languages such as <a href="https://mermaid-js.github.io/mermaid/" target="\_blank">mermaid</a>, <a href="https://plantuml.com/" target="\_blank">plantuml</a>, <a href="https://vega.github.io/vega-lite/" target="\_blank">vega-lite</a>, etc.</p>
<p><strong>Note:</strong> different diagram-generation packages require external dependencies to be installed on your machine.
Also, be mindful of that because of diagram generation the fist time you build your Jekyll website after adding new diagrams will be SLOW.
For any other details, please refer to <a href="https://github.com/zhustec/jekyll-diagrams" target="\_blank">jekyll-diagrams</a> README.</p>
<h2 id="mermaid">Mermaid</h2>
<p>Install mermaid using <code class="language-plaintext highlighter-rouge">node.js</code> package manager <code class="language-plaintext highlighter-rouge">npm</code> by running the following command:</p>
<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>npm <span class="nb">install</span> <span class="nt">-g</span> mermaid.cli
</code></pre></div></div>
<p>The diagram below was generated by the following code:</p>
<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>{% mermaid %}
sequenceDiagram
participant John
participant Alice
Alice->>John: Hello John, how are you?
John-->>Alice: Great!
{% endmermaid %}
</code></pre></div></div>
<div class="jekyll-diagrams diagrams mermaid">
Rendering Failed: mmdc --puppeteerConfigFile /var/lib/gems/3.2.0/gems/jekyll-diagrams-0.10.0/vendor/mermaid_puppeteer_config.json --input /tmp/input20240723-232718-jlbsd2 --output /tmp/output20240723-232718-gr779o.svg:
Error: Tried to find the browser at the configured path (/usr/bin/chromium-browser), but no executable was found.
at ChromeLauncher.resolveExecutablePath (file:///usr/local/lib/node_modules/@mermaid-js/mermaid-cli/node_modules/puppeteer-core/lib/esm/puppeteer/node/ProductLauncher.js:241:23)
at ChromeLauncher.executablePath (file:///usr/local/lib/node_modules/@mermaid-js/mermaid-cli/node_modules/puppeteer-core/lib/esm/puppeteer/node/ChromeLauncher.js:176:25)
at ChromeLauncher.computeLaunchArguments (file:///usr/local/lib/node_modules/@mermaid-js/mermaid-cli/node_modules/puppeteer-core/lib/esm/puppeteer/node/ChromeLauncher.js:93:37)
at async ChromeLauncher.launch (file:///usr/local/lib/node_modules/@mermaid-js/mermaid-cli/node_modules/puppeteer-core/lib/esm/puppeteer/node/ProductLauncher.js:57:28)
at async run (file:///usr/local/lib/node_modules/@mermaid-js/mermaid-cli/src/index.js:404:19)
at async cli (file:///usr/local/lib/node_modules/@mermaid-js/mermaid-cli/src/index.js:184:3)
</div>]]></content><author><name></name></author><summary type="html"><![CDATA[an example of a blog post with diagrams]]></summary></entry><entry><title type="html">a distill-style blog post</title><link href="https://hdocmsu.github.io/2021/05/22/distill.html" rel="alternate" type="text/html" title="a distill-style blog post" /><published>2021-05-22T00:00:00-07:00</published><updated>2021-05-22T00:00:00-07:00</updated><id>https://hdocmsu.github.io/2021/05/22/distill</id><content type="html" xml:base="https://hdocmsu.github.io/2021/05/22/distill.html"><![CDATA[<p><strong>NOTE:</strong>
Citations, footnotes, and code blocks do not display correctly in the dark mode since distill does not support the dark mode by default.
If you are interested in correctly adding dark mode support for distill, please open <a href="https://github.com/alshedivat/al-folio/discussions">a discussion</a> and let us know.</p>
<h2 id="equations">Equations</h2>
<p>This theme supports rendering beautiful math in inline and display modes using <a href="https://www.mathjax.org/">MathJax 3</a> engine.
You just need to surround your math expression with <code class="language-plaintext highlighter-rouge">$$</code>, like <code class="language-plaintext highlighter-rouge">$$ E = mc^2 $$</code>.
If you leave it inside a paragraph, it will produce an inline expression, just like \(E = mc^2\).</p>
<p>To use display mode, again surround your expression with <code class="language-plaintext highlighter-rouge">$$</code> and place it as a separate paragraph.
Here is an example:</p>
\[\left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right)\]
<p>Note that MathJax 3 is <a href="https://docs.mathjax.org/en/latest/upgrading/whats-new-3.0.html">a major re-write of MathJax</a> that brought a significant improvement to the loading and rendering speed, which is now <a href="http://www.intmath.com/cg5/katex-mathjax-comparison.php">on par with KaTeX</a>.</p>
<hr />
<h2 id="citations">Citations</h2>
<p>Citations are then used in the article body with the <code class="language-plaintext highlighter-rouge"><d-cite></code> tag.
The key attribute is a reference to the id provided in the bibliography.
The key attribute can take multiple ids, separated by commas.</p>
<p>The citation is presented inline like this: <d-cite key="gregor2015draw"></d-cite> (a number that displays more information on hover).
If you have an appendix, a bibliography is automatically created and populated in it.</p>
<p>Distill chose a numerical inline citation style to improve readability of citation dense articles and because many of the benefits of longer citations are obviated by displaying more information on hover.
However, we consider it good style to mention author last names if you discuss something at length and it fits into the flow well — the authors are human and it’s nice for them to have the community associate them with their work.</p>
<hr />
<h2 id="footnotes">Footnotes</h2>
<p>Just wrap the text you would like to show up in a footnote in a <code class="language-plaintext highlighter-rouge"><d-footnote></code> tag.
The number of the footnote will be automatically generated.<d-footnote>This will become a hoverable footnote.</d-footnote></p>
<hr />
<h2 id="code-blocks">Code Blocks</h2>
<p>Syntax highlighting is provided within <code class="language-plaintext highlighter-rouge"><d-code></code> tags.
An example of inline code snippets: <code class="language-plaintext highlighter-rouge"><d-code language="html">let x = 10;</d-code></code>.
For larger blocks of code, add a <code class="language-plaintext highlighter-rouge">block</code> attribute:</p>
<d-code block="" language="javascript">
var x = 25;
function(x) {
return x * x;
}
</d-code>
<p><strong>Note:</strong> <code class="language-plaintext highlighter-rouge"><d-code></code> blocks do not look well in the dark mode.
You can always use the default code-highlight using the <code class="language-plaintext highlighter-rouge">highlight</code> liquid tag:</p>
<figure class="highlight"><pre><code class="language-javascript" data-lang="javascript"><span class="kd">var</span> <span class="nx">x</span> <span class="o">=</span> <span class="mi">25</span><span class="p">;</span>
<span class="kd">function</span><span class="p">(</span><span class="nx">x</span><span class="p">)</span> <span class="p">{</span>
<span class="k">return</span> <span class="nx">x</span> <span class="o">*</span> <span class="nx">x</span><span class="p">;</span>
<span class="p">}</span></code></pre></figure>
<hr />
<h2 id="layouts">Layouts</h2>
<p>The main text column is referred to as the body.
It is the assumed layout of any direct descendants of the <code class="language-plaintext highlighter-rouge">d-article</code> element.</p>
<div class="fake-img l-body">
<p>.l-body</p>
</div>
<p>For images you want to display a little larger, try <code class="language-plaintext highlighter-rouge">.l-page</code>:</p>
<div class="fake-img l-page">
<p>.l-page</p>
</div>
<p>All of these have an outset variant if you want to poke out from the body text a little bit.
For instance:</p>
<div class="fake-img l-body-outset">
<p>.l-body-outset</p>
</div>
<div class="fake-img l-page-outset">
<p>.l-page-outset</p>
</div>
<p>Occasionally you’ll want to use the full browser width.
For this, use <code class="language-plaintext highlighter-rouge">.l-screen</code>.
You can also inset the element a little from the edge of the browser by using the inset variant.</p>
<div class="fake-img l-screen">
<p>.l-screen</p>
</div>
<div class="fake-img l-screen-inset">
<p>.l-screen-inset</p>
</div>
<p>The final layout is for marginalia, asides, and footnotes.
It does not interrupt the normal flow of <code class="language-plaintext highlighter-rouge">.l-body</code> sized text except on mobile screen sizes.</p>
<div class="fake-img l-gutter">
<p>.l-gutter</p>
</div>
<hr />
<h2 id="other-typography">Other Typography</h2>
<p>Emphasis, aka italics, with <em>asterisks</em> (<code class="language-plaintext highlighter-rouge">*asterisks*</code>) or <em>underscores</em> (<code class="language-plaintext highlighter-rouge">_underscores_</code>).</p>
<p>Strong emphasis, aka bold, with <strong>asterisks</strong> or <strong>underscores</strong>.</p>
<p>Combined emphasis with <strong>asterisks and <em>underscores</em></strong>.</p>
<p>Strikethrough uses two tildes. <del>Scratch this.</del></p>
<ol>
<li>First ordered list item</li>
<li>Another item
⋅⋅* Unordered sub-list.</li>
<li>Actual numbers don’t matter, just that it’s a number
⋅⋅1. Ordered sub-list</li>
<li>And another item.</li>
</ol>
<p>⋅⋅⋅You can have properly indented paragraphs within list items. Notice the blank line above, and the leading spaces (at least one, but we’ll use three here to also align the raw Markdown).</p>
<p>⋅⋅⋅To have a line break without a paragraph, you will need to use two trailing spaces.⋅⋅
⋅⋅⋅Note that this line is separate, but within the same paragraph.⋅⋅
⋅⋅⋅(This is contrary to the typical GFM line break behaviour, where trailing spaces are not required.)</p>
<ul>
<li>Unordered list can use asterisks</li>
<li>Or minuses</li>
<li>Or pluses</li>
</ul>
<p><a href="https://www.google.com">I’m an inline-style link</a></p>
<p><a href="https://www.google.com" title="Google's Homepage">I’m an inline-style link with title</a></p>
<p><a href="https://www.mozilla.org">I’m a reference-style link</a></p>
<p><a href="../blob/master/LICENSE">I’m a relative reference to a repository file</a></p>
<p><a href="http://slashdot.org">You can use numbers for reference-style link definitions</a></p>
<p>Or leave it empty and use the <a href="http://www.reddit.com">link text itself</a>.</p>
<p>URLs and URLs in angle brackets will automatically get turned into links.
http://www.example.com or <a href="http://www.example.com">http://www.example.com</a> and sometimes
example.com (but not on Github, for example).</p>
<p>Some text to show that the reference links can follow later.</p>
<p>Here’s our logo (hover to see the title text):</p>
<p>Inline-style:
<img src="https://github.com/adam-p/markdown-here/raw/master/src/common/images/icon48.png" alt="alt text" title="Logo Title Text 1" /></p>
<p>Reference-style:
<img src="https://github.com/adam-p/markdown-here/raw/master/src/common/images/icon48.png" alt="alt text" title="Logo Title Text 2" /></p>
<p>Inline <code class="language-plaintext highlighter-rouge">code</code> has <code class="language-plaintext highlighter-rouge">back-ticks around</code> it.</p>
<div class="language-javascript highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="kd">var</span> <span class="nx">s</span> <span class="o">=</span> <span class="dl">"</span><span class="s2">JavaScript syntax highlighting</span><span class="dl">"</span><span class="p">;</span>
<span class="nf">alert</span><span class="p">(</span><span class="nx">s</span><span class="p">);</span>
</code></pre></div></div>
<div class="language-python highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="n">s</span> <span class="o">=</span> <span class="sh">"</span><span class="s">Python syntax highlighting</span><span class="sh">"</span>
<span class="k">print</span> <span class="n">s</span>
</code></pre></div></div>
<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>No language indicated, so no syntax highlighting.
But let's throw in a <b>tag</b>.
</code></pre></div></div>
<p>Colons can be used to align columns.</p>
<table>
<thead>
<tr>
<th>Tables</th>
<th style="text-align: center">Are</th>
<th style="text-align: right">Cool</th>
</tr>
</thead>
<tbody>
<tr>
<td>col 3 is</td>
<td style="text-align: center">right-aligned</td>
<td style="text-align: right">$1600</td>
</tr>
<tr>
<td>col 2 is</td>
<td style="text-align: center">centered</td>
<td style="text-align: right">$12</td>
</tr>
<tr>
<td>zebra stripes</td>
<td style="text-align: center">are neat</td>
<td style="text-align: right">$1</td>
</tr>
</tbody>
</table>
<p>There must be at least 3 dashes separating each header cell.
The outer pipes (|) are optional, and you don’t need to make the
raw Markdown line up prettily. You can also use inline Markdown.</p>
<table>
<thead>
<tr>
<th>Markdown</th>
<th>Less</th>
<th>Pretty</th>
</tr>
</thead>
<tbody>
<tr>
<td><em>Still</em></td>
<td><code class="language-plaintext highlighter-rouge">renders</code></td>
<td><strong>nicely</strong></td>
</tr>
<tr>
<td>1</td>
<td>2</td>
<td>3</td>
</tr>
</tbody>
</table>
<blockquote>
<p>Blockquotes are very handy in email to emulate reply text.
This line is part of the same quote.</p>
</blockquote>
<p>Quote break.</p>
<blockquote>
<p>This is a very long line that will still be quoted properly when it wraps. Oh boy let’s keep writing to make sure this is long enough to actually wrap for everyone. Oh, you can <em>put</em> <strong>Markdown</strong> into a blockquote.</p>
</blockquote>
<p>Here’s a line for us to start with.</p>
<p>This line is separated from the one above by two newlines, so it will be a <em>separate paragraph</em>.</p>
<p>This line is also a separate paragraph, but…
This line is only separated by a single newline, so it’s a separate line in the <em>same paragraph</em>.</p>]]></content><author><name>Albert Einstein</name></author><summary type="html"><![CDATA[an example of a distill-style blog post and main elements]]></summary></entry><entry><title type="html">a post with github metadata</title><link href="https://hdocmsu.github.io/sample-posts/external-services/2020/09/28/github-metadata.html" rel="alternate" type="text/html" title="a post with github metadata" /><published>2020-09-28T14:01:00-07:00</published><updated>2020-09-28T14:01:00-07:00</updated><id>https://hdocmsu.github.io/sample-posts/external-services/2020/09/28/github-metadata</id><content type="html" xml:base="https://hdocmsu.github.io/sample-posts/external-services/2020/09/28/github-metadata.html"><![CDATA[<p>A sample blog page that demonstrates the accessing of github meta data.</p>
<h2 id="what-does-github-metadata-do">What does Github-MetaData do?</h2>
<ul>
<li>Propagates the site.github namespace with repository metadata</li>
<li>Setting site variables :
<ul>
<li>site.title</li>
<li>site.description</li>
<li>site.url</li>
<li>site.baseurl</li>
</ul>
</li>
<li>Accessing the metadata - duh.</li>
<li>Generating edittable links.</li>
</ul>
<h2 id="additional-reading">Additional Reading</h2>
<ul>
<li>If you’re recieving incorrect/missing data, you may need to perform a Github API<a href="https://github.com/jekyll/github-metadata/blob/master/docs/authentication.md"> authentication</a>.</li>
<li>Go through this <a href="https://jekyll.github.io/github-metadata/">README</a> for more details on the topic.</li>
<li><a href="https://github.com/jekyll/github-metadata/blob/master/docs/site.github.md">This page</a> highlights all the feilds you can access with github-metadata.
<br /></li>
</ul>
<h2 id="example-metadata">Example MetaData</h2>
<ul>
<li>Host Name :</li>
<li>URL :</li>
<li>BaseURL :</li>
<li>Archived :</li>
<li>Contributors :</li>
</ul>]]></content><author><name></name></author><category term="sample-posts" /><category term="external-services" /><summary type="html"><![CDATA[a quick run down on accessing github metadata.]]></summary></entry><entry><title type="html">a post with twitter</title><link href="https://hdocmsu.github.io/sample-posts/external-services/2020/09/28/twitter.html" rel="alternate" type="text/html" title="a post with twitter" /><published>2020-09-28T08:12:00-07:00</published><updated>2020-09-28T08:12:00-07:00</updated><id>https://hdocmsu.github.io/sample-posts/external-services/2020/09/28/twitter</id><content type="html" xml:base="https://hdocmsu.github.io/sample-posts/external-services/2020/09/28/twitter.html"><![CDATA[<p>A sample blog page that demonstrates the inclusion of Tweets/Timelines/etc.</p>
<h1 id="tweet">Tweet</h1>
<p>An example of displaying a tweet:</p>
<div class="jekyll-twitter-plugin"><blockquote class="twitter-tweet"><p lang="sv" dir="ltr">jekyll-twitter-plugin (1.0.0): A Liquid tag plugin for Jekyll that renders Tweets from Twitter API <a href="http://t.co/m4EIQPM9h4">http://t.co/m4EIQPM9h4</a></p>— RubyGems (@rubygems) <a href="https://twitter.com/rubygems/status/518821243320287232?ref_src=twsrc%5Etfw">October 5, 2014</a></blockquote>
<script async="" src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
</div>
<h1 id="timeline">Timeline</h1>
<p>An example of pulling from a timeline:</p>
<div class="jekyll-twitter-plugin"><a class="twitter-timeline" data-width="500" data-tweet-limit="3" href="https://twitter.com/jekyllrb?ref_src=twsrc%5Etfw">Tweets by jekyllrb</a>
<script async="" src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
</div>
<h1 id="additional-details">Additional Details</h1>
<p>For more details on using the plugin visit: <a href="https://github.com/rob-murray/jekyll-twitter-plugin">jekyll-twitter-plugin</a></p>]]></content><author><name></name></author><category term="sample-posts" /><category term="external-services" /><category term="formatting" /><summary type="html"><![CDATA[an example of a blog post with twitter]]></summary></entry><entry><title type="html">a post with comments</title><link href="https://hdocmsu.github.io/sample-posts/external-services/2015/10/20/comments.html" rel="alternate" type="text/html" title="a post with comments" /><published>2015-10-20T08:59:00-07:00</published><updated>2015-10-20T08:59:00-07:00</updated><id>https://hdocmsu.github.io/sample-posts/external-services/2015/10/20/comments</id><content type="html" xml:base="https://hdocmsu.github.io/sample-posts/external-services/2015/10/20/comments.html"><![CDATA[<p>This post shows how to add DISQUS comments.</p>]]></content><author><name></name></author><category term="sample-posts" /><category term="external-services" /><summary type="html"><![CDATA[an example of a blog post with comments]]></summary></entry><entry><title type="html">a post with math</title><link href="https://hdocmsu.github.io/sample-posts/2015/10/20/math.html" rel="alternate" type="text/html" title="a post with math" /><published>2015-10-20T08:12:00-07:00</published><updated>2015-10-20T08:12:00-07:00</updated><id>https://hdocmsu.github.io/sample-posts/2015/10/20/math</id><content type="html" xml:base="https://hdocmsu.github.io/sample-posts/2015/10/20/math.html"><![CDATA[<p>This theme supports rendering beautiful math in inline and display modes using <a href="https://www.mathjax.org/">MathJax 3</a> engine. You just need to surround your math expression with <code class="language-plaintext highlighter-rouge">$$</code>, like <code class="language-plaintext highlighter-rouge">$$ E = mc^2 $$</code>. If you leave it inside a paragraph, it will produce an inline expression, just like \(E = mc^2\).</p>
<p>To use display mode, again surround your expression with <code class="language-plaintext highlighter-rouge">$$</code> and place it as a separate paragraph. Here is an example:</p>
\[\sum_{k=1}^\infty |\langle x, e_k \rangle|^2 \leq \|x\|^2\]
<p>You can also use <code class="language-plaintext highlighter-rouge">\begin{equation}...\end{equation}</code> instead of <code class="language-plaintext highlighter-rouge">$$</code> for display mode math.
MathJax will automatically number equations:</p>
<p>\begin{equation}
\label{eq:caushy-shwarz}
\left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right)
\end{equation}</p>
<p>and by adding <code class="language-plaintext highlighter-rouge">\label{...}</code> inside the equation environment, we can now refer to the equation using <code class="language-plaintext highlighter-rouge">\eqref</code>.</p>
<p>Note that MathJax 3 is <a href="https://docs.mathjax.org/en/latest/upgrading/whats-new-3.0.html">a major re-write of MathJax</a> that brought a significant improvement to the loading and rendering speed, which is now <a href="http://www.intmath.com/cg5/katex-mathjax-comparison.php">on par with KaTeX</a>.</p>]]></content><author><name></name></author><category term="sample-posts" /><category term="formatting" /><category term="math" /><summary type="html"><![CDATA[an example of a blog post with some math]]></summary></entry><entry><title type="html">a post with code</title><link href="https://hdocmsu.github.io/sample-posts/2015/07/15/code.html" rel="alternate" type="text/html" title="a post with code" /><published>2015-07-15T08:09:00-07:00</published><updated>2015-07-15T08:09:00-07:00</updated><id>https://hdocmsu.github.io/sample-posts/2015/07/15/code</id><content type="html" xml:base="https://hdocmsu.github.io/sample-posts/2015/07/15/code.html"><![CDATA[<p>This theme implements a built-in Jekyll feature, the use of Rouge, for syntax highlighting.
It supports more than 100 languages.
This example is in C++.
All you have to do is wrap your code in a liquid tag:</p>
<p>{% highlight c++ linenos %} <br /> code code code <br /> {% endhighlight %}</p>
<p>The keyword <code class="language-plaintext highlighter-rouge">linenos</code> triggers display of line numbers.
Produces something like this:</p>
<figure class="highlight"><pre><code class="language-c--" data-lang="c++"><table class="rouge-table"><tbody><tr><td class="gutter gl"><pre class="lineno">1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
</pre></td><td class="code"><pre><span class="kt">int</span> <span class="nf">main</span><span class="p">(</span><span class="kt">int</span> <span class="n">argc</span><span class="p">,</span> <span class="kt">char</span> <span class="k">const</span> <span class="err">\</span><span class="o">*</span><span class="n">argv</span><span class="p">[])</span>
<span class="p">{</span>
<span class="n">string</span> <span class="n">myString</span><span class="p">;</span>
<span class="n">cout</span> <span class="o"><<</span> <span class="s">"input a string: "</span><span class="p">;</span>
<span class="n">getline</span><span class="p">(</span><span class="n">cin</span><span class="p">,</span> <span class="n">myString</span><span class="p">);</span>
<span class="kt">int</span> <span class="n">length</span> <span class="o">=</span> <span class="n">myString</span><span class="p">.</span><span class="n">length</span><span class="p">();</span>
<span class="kt">char</span> <span class="n">charArray</span> <span class="o">=</span> <span class="k">new</span> <span class="kt">char</span> <span class="o">*</span> <span class="p">[</span><span class="n">length</span><span class="p">];</span>
<span class="n">charArray</span> <span class="o">=</span> <span class="n">myString</span><span class="p">;</span>
<span class="k">for</span><span class="p">(</span><span class="kt">int</span> <span class="n">i</span> <span class="o">=</span> <span class="mi">0</span><span class="p">;</span> <span class="n">i</span> <span class="o"><</span> <span class="n">length</span><span class="p">;</span> <span class="o">++</span><span class="n">i</span><span class="p">){</span>
<span class="n">cout</span> <span class="o"><<</span> <span class="n">charArray</span><span class="p">[</span><span class="n">i</span><span class="p">]</span> <span class="o"><<</span> <span class="s">" "</span><span class="p">;</span>
<span class="p">}</span>
<span class="k">return</span> <span class="mi">0</span><span class="p">;</span>
<span class="p">}</span>
</pre></td></tr></tbody></table></code></pre></figure>]]></content><author><name></name></author><category term="sample-posts" /><category term="formatting" /><category term="code" /><summary type="html"><![CDATA[an example of a blog post with some code]]></summary></entry><entry><title type="html">a post with images</title><link href="https://hdocmsu.github.io/sample-posts/2015/05/15/images.html" rel="alternate" type="text/html" title="a post with images" /><published>2015-05-15T14:01:00-07:00</published><updated>2015-05-15T14:01:00-07:00</updated><id>https://hdocmsu.github.io/sample-posts/2015/05/15/images</id><content type="html" xml:base="https://hdocmsu.github.io/sample-posts/2015/05/15/images.html"><![CDATA[<p>This is an example post with image galleries.</p>
<div class="row mt-3">
<div class="col-sm mt-3 mt-md-0">
<picture>
<source media="(max-width: 480px)" srcset="/assets/resized/9-480x320.jpg" />
<source media="(max-width: 800px)" srcset="/assets/resized/9-800x533.jpg" />
<source media="(max-width: 1400px)" srcset="/assets/resized/9-1400x933.jpg" />
<img class="img-fluid rounded z-depth-1" src="/assets/img/9.jpg" />
</picture>
</div>
<div class="col-sm mt-3 mt-md-0">
<picture>
<source media="(max-width: 480px)" srcset="/assets/resized/7-480x320.jpg" />
<source media="(max-width: 800px)" srcset="/assets/resized/7-800x533.jpg" />
<source media="(max-width: 1400px)" srcset="/assets/resized/7-1400x933.jpg" />
<img class="img-fluid rounded z-depth-1" src="/assets/img/7.jpg" />
</picture>
</div>
</div>
<div class="caption">
A simple, elegant caption looks good between image rows, after each row, or doesn't have to be there at all.
</div>
<p>Images can be made zoomable.
Simply add <code class="language-plaintext highlighter-rouge">data-zoomable</code> to <code class="language-plaintext highlighter-rouge"><img></code> tags that you want to make zoomable.</p>
<div class="row mt-3">
<div class="col-sm mt-3 mt-md-0">
<picture>
<source media="(max-width: 480px)" srcset="/assets/resized/8-480x334.jpg" />
<source media="(max-width: 800px)" srcset="/assets/resized/8-800x556.jpg" />
<source media="(max-width: 1400px)" srcset="/assets/resized/8-1400x973.jpg" />
<img class="img-fluid rounded z-depth-1" src="/assets/img/8.jpg" data-zoomable="" />
</picture>
</div>
<div class="col-sm mt-3 mt-md-0">
<picture>
<source media="(max-width: 480px)" srcset="/assets/resized/10-480x320.jpg" />
<source media="(max-width: 800px)" srcset="/assets/resized/10-800x533.jpg" />
<source media="(max-width: 1400px)" srcset="/assets/resized/10-1400x933.jpg" />
<img class="img-fluid rounded z-depth-1" src="/assets/img/10.jpg" data-zoomable="" />
</picture>
</div>
</div>
<p>The rest of the images in this post are all zoomable, arranged into different mini-galleries.</p>
<div class="row mt-3">
<div class="col-sm mt-3 mt-md-0">
<picture>
<source media="(max-width: 480px)" srcset="/assets/resized/11-480x671.jpg" />
<source media="(max-width: 800px)" srcset="/assets/resized/11-800x1118.jpg" />
<source media="(max-width: 1400px)" srcset="/assets/resized/11-1400x1956.jpg" />
<img class="img-fluid rounded z-depth-1" src="/assets/img/11.jpg" data-zoomable="" />
</picture>
</div>
<div class="col-sm mt-3 mt-md-0">
<picture>
<source media="(max-width: 480px)" srcset="/assets/resized/12-480x320.jpg" />
<source media="(max-width: 800px)" srcset="/assets/resized/12-800x533.jpg" />
<source media="(max-width: 1400px)" srcset="/assets/resized/12-1400x933.jpg" />
<img class="img-fluid rounded z-depth-1" src="/assets/img/12.jpg" data-zoomable="" />
</picture>
</div>
<div class="col-sm mt-3 mt-md-0">
<picture>
<source media="(max-width: 480px)" srcset="/assets/resized/7-480x320.jpg" />
<source media="(max-width: 800px)" srcset="/assets/resized/7-800x533.jpg" />
<source media="(max-width: 1400px)" srcset="/assets/resized/7-1400x933.jpg" />
<img class="img-fluid rounded z-depth-1" src="/assets/img/7.jpg" data-zoomable="" />
</picture>
</div>
</div>]]></content><author><name></name></author><category term="sample-posts" /><category term="formatting" /><category term="images" /><summary type="html"><![CDATA[this is what included images could look like]]></summary></entry><entry><title type="html">a post with formatting and links</title><link href="https://hdocmsu.github.io/sample-posts/2015/03/15/formatting-and-links.html" rel="alternate" type="text/html" title="a post with formatting and links" /><published>2015-03-15T09:40:16-07:00</published><updated>2015-03-15T09:40:16-07:00</updated><id>https://hdocmsu.github.io/sample-posts/2015/03/15/formatting-and-links</id><content type="html" xml:base="https://hdocmsu.github.io/sample-posts/2015/03/15/formatting-and-links.html"><![CDATA[<p>Jean shorts raw denim Vice normcore, art party High Life PBR skateboard stumptown vinyl kitsch. Four loko meh 8-bit, tousled banh mi tilde forage Schlitz dreamcatcher twee 3 wolf moon. Chambray asymmetrical paleo salvia, sartorial umami four loko master cleanse drinking vinegar brunch. <a href="https://www.pinterest.com">Pinterest</a> DIY authentic Schlitz, hoodie Intelligentsia butcher trust fund brunch shabby chic Kickstarter forage flexitarian. Direct trade <a href="https://en.wikipedia.org/wiki/Cold-pressed_juice">cold-pressed</a> meggings stumptown plaid, pop-up taxidermy. Hoodie XOXO fingerstache scenester Echo Park. Plaid ugh Wes Anderson, freegan pug selvage fanny pack leggings pickled food truck DIY irony Banksy.</p>
<h4 id="hipster-list">Hipster list</h4>
<ul>
<li>brunch</li>
<li>fixie</li>
<li>raybans</li>
<li>messenger bag</li>
</ul>
<p>Hoodie Thundercats retro, tote bag 8-bit Godard craft beer gastropub. Truffaut Tumblr taxidermy, raw denim Kickstarter sartorial dreamcatcher. Quinoa chambray slow-carb salvia readymade, bicycle rights 90’s yr typewriter selfies letterpress cardigan vegan.</p>
<hr />
<p>Pug heirloom High Life vinyl swag, single-origin coffee four dollar toast taxidermy reprehenderit fap distillery master cleanse locavore. Est anim sapiente leggings Brooklyn ea. Thundercats locavore excepteur veniam eiusmod. Raw denim Truffaut Schlitz, migas sapiente Portland VHS twee Bushwick Marfa typewriter retro id keytar.</p>
<blockquote>
We do not grow absolutely, chronologically. We grow sometimes in one dimension, and not in another, unevenly. We grow partially. We are relative. We are mature in one realm, childish in another.
—Anais Nin
</blockquote>
<p>Fap aliqua qui, scenester pug Echo Park polaroid irony shabby chic ex cardigan church-key Odd Future accusamus. Blog stumptown sartorial squid, gastropub duis aesthetic Truffaut vero. Pinterest tilde twee, odio mumblecore jean shorts lumbersexual.</p>]]></content><author><name></name></author><category term="sample-posts" /><category term="formatting" /><category term="links" /><summary type="html"><![CDATA[march & april, looking forward to summer]]></summary></entry></feed>