<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.9.0">Jekyll</generator><link href="https://zhangyitonggg.github.io/feed.xml" rel="self" type="application/atom+xml" /><link href="https://zhangyitonggg.github.io/" rel="alternate" type="text/html" /><updated>2026-09-18T17:51:16+08:00</updated><id>https://zhangyitonggg.github.io/feed.xml</id><title type="html">YT | Blog</title><subtitle>A vast world where there is much to be accomplished. 
 &lt;font face=STSong&gt;广阔天地，大有可为。&lt;/font&gt;</subtitle><author><name>Yitong Zhang</name><email>zhangyt26@mails.tsinghua.edu.cn</email></author><entry><title type="html">A writing example</title><link href="https://zhangyitonggg.github.io/blog/example/" rel="alternate" type="text/html" title="A writing example" /><published>2026-09-18T09:00:00+08:00</published><updated>2026-09-18T09:00:00+08:00</updated><id>https://zhangyitonggg.github.io/blog/index</id><content type="html" xml:base="https://zhangyitonggg.github.io/blog/example/">&lt;p&gt;This page is a working example. Copy its folder to start a new post, then replace the text, images, and bibliography.&lt;/p&gt;

&lt;h2 id=&quot;1-citations&quot;&gt;1. Citations&lt;/h2&gt;

&lt;p&gt;In the article, write &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;[@knuth1984]&lt;/code&gt; to create a numbered citation. Here is the rendered result.&lt;sup class=&quot;blog-citation&quot; id=&quot;cite-knuth1984--1&quot;&gt;&lt;a href=&quot;#ref-knuth1984&quot; role=&quot;doc-biblioref&quot; aria-label=&quot;Reference 1: Literate Programming&quot;&gt;[1]&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;p&gt;For multiple sources, use &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;[@knuth1984; @shannon1948]&lt;/code&gt;. Here is that example.&lt;sup class=&quot;blog-citation&quot; id=&quot;cite-knuth1984--2&quot;&gt;&lt;a href=&quot;#ref-knuth1984&quot; role=&quot;doc-biblioref&quot; aria-label=&quot;Reference 1: Literate Programming&quot;&gt;[1]&lt;/a&gt;&lt;/sup&gt;&lt;sup class=&quot;blog-citation&quot; id=&quot;cite-shannon1948--1&quot;&gt;&lt;a href=&quot;#ref-shannon1948&quot; role=&quot;doc-biblioref&quot; aria-label=&quot;Reference 2: A Mathematical Theory of Communication&quot;&gt;[2]&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;p&gt;The equivalent macro is &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;{% cite knuth1984 %}&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;This sentence uses the macro.&lt;sup class=&quot;blog-citation&quot; id=&quot;cite-knuth1984--3&quot;&gt;&lt;a href=&quot;#ref-knuth1984&quot; role=&quot;doc-biblioref&quot; aria-label=&quot;Reference 1: Literate Programming&quot;&gt;[1]&lt;/a&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;p&gt;References are numbered in order of first appearance. Repeated citations keep the same number, and each has its own return link. Only cited entries appear in the reference list. Citation syntax inside code remains literal: &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;[@not-a-real-reference]&lt;/code&gt;.&lt;/p&gt;

&lt;h2 id=&quot;2-footnotes&quot;&gt;2. Footnotes&lt;/h2&gt;

&lt;p&gt;Write &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;[^note]&lt;/code&gt; in the text and define the note elsewhere in the file:&lt;/p&gt;

&lt;div class=&quot;language-markdown highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;A sentence with a note.[^note]

&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;ss&quot;&gt;^note&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;]:&lt;/span&gt; &lt;span class=&quot;sx&quot;&gt;The&lt;/span&gt; note&apos;s text.
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Here is a working footnote.&lt;sup id=&quot;fnref:note&quot; role=&quot;doc-noteref&quot;&gt;&lt;a href=&quot;#fn:note&quot; class=&quot;footnote&quot; rel=&quot;footnote&quot;&gt;1&lt;/a&gt;&lt;/sup&gt; Click its number to read it, then use the return arrow to come back. The destination is highlighted.&lt;/p&gt;

&lt;h2 id=&quot;3-create-a-post&quot;&gt;3. Create a post&lt;/h2&gt;

&lt;p&gt;Keep everything for one article in one folder:&lt;/p&gt;

&lt;div class=&quot;language-text highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;_blog/my-post/
├── index.md
├── references.md
└── images/
    └── figure.svg
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Start &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;index.md&lt;/code&gt; with this metadata, followed by your Markdown text:&lt;/p&gt;

&lt;div class=&quot;language-yaml highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nn&quot;&gt;---&lt;/span&gt;
&lt;span class=&quot;na&quot;&gt;layout&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;post&lt;/span&gt;
&lt;span class=&quot;na&quot;&gt;title&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;My post&lt;/span&gt;
&lt;span class=&quot;na&quot;&gt;date&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;2026-09-18 09:00:00 +0800&lt;/span&gt;
&lt;span class=&quot;na&quot;&gt;categories&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;pi&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;Notes&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;]&lt;/span&gt;
&lt;span class=&quot;na&quot;&gt;description&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;A short description.&lt;/span&gt;
&lt;span class=&quot;na&quot;&gt;permalink&lt;/span&gt;&lt;span class=&quot;pi&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;/blog/my-post/&lt;/span&gt;
&lt;span class=&quot;nn&quot;&gt;---&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Match the folder name to the last part of the permalink. Posts are ordered by date. Add &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;published: false&lt;/code&gt; while writing a draft, then remove it to publish. Images and reference files are optional.&lt;/p&gt;

&lt;h2 id=&quot;4-text-headings-and-lists&quot;&gt;4. Text, headings, and lists&lt;/h2&gt;

&lt;p&gt;Use &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;##&lt;/code&gt; for a section and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;###&lt;/code&gt; for a subsection. Paragraphs are separated by a blank line. Text can be &lt;strong&gt;bold&lt;/strong&gt;, &lt;em&gt;italic&lt;/em&gt;, or &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;inline code&lt;/code&gt;.&lt;/p&gt;

&lt;h3 id=&quot;a-subsection&quot;&gt;A subsection&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;A short item.&lt;/li&gt;
  &lt;li&gt;Another item with a &lt;a href=&quot;/#about-me&quot;&gt;link to the homepage&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;ol&gt;
  &lt;li&gt;Write the content.&lt;/li&gt;
  &lt;li&gt;Preview the page.&lt;/li&gt;
  &lt;li&gt;Publish when ready.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Use &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;&amp;gt;&lt;/code&gt; at the beginning of a line for a blockquote:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;p&gt;This is an example blockquote. It is not attributed to a source.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2 id=&quot;5-equations&quot;&gt;5. Equations&lt;/h2&gt;

&lt;p&gt;Put inline mathematics between dollar signs: &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;$a^2 + b^2 = c^2$&lt;/code&gt; becomes $a^2 + b^2 = c^2$.&lt;/p&gt;

&lt;p&gt;Use double dollar signs for a displayed equation:&lt;/p&gt;

&lt;div class=&quot;language-latex highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;p&quot;&gt;$$&lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;\operatorname&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;MSE&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;nb&quot;&gt; &lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;nb&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;\frac&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;m&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}{&lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;n&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;\sum&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;_{&lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;m&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}^{&lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;n&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;y&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;_&lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;\hat&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;y&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}_&lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;^&lt;/span&gt;&lt;span class=&quot;m&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;nb&quot;&gt;.
&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;$$&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

\[\operatorname{MSE} = \frac{1}{n}\sum_{i=1}^{n}(y_i-\hat{y}_i)^2.\]

&lt;p&gt;MathJax renders the equation when the page loads.&lt;/p&gt;

&lt;h2 id=&quot;6-code&quot;&gt;6. Code&lt;/h2&gt;

&lt;p&gt;Use a fenced code block with a language name such as &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;python&lt;/code&gt;:&lt;/p&gt;

&lt;div class=&quot;language-python highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;k&quot;&gt;def&lt;/span&gt; &lt;span class=&quot;nf&quot;&gt;mean_squared_error&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;actual&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;predicted&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;):&lt;/span&gt;
    &lt;span class=&quot;k&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;ow&quot;&gt;not&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;actual&lt;/span&gt; &lt;span class=&quot;ow&quot;&gt;or&lt;/span&gt; &lt;span class=&quot;nb&quot;&gt;len&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;actual&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;!=&lt;/span&gt; &lt;span class=&quot;nb&quot;&gt;len&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;predicted&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;):&lt;/span&gt;
        &lt;span class=&quot;k&quot;&gt;raise&lt;/span&gt; &lt;span class=&quot;nb&quot;&gt;ValueError&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;s&quot;&gt;&quot;Expected matching nonempty sequences&quot;&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;
    &lt;span class=&quot;n&quot;&gt;errors&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;[(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;a&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;-&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;p&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;**&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;2&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;a&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;p&lt;/span&gt; &lt;span class=&quot;ow&quot;&gt;in&lt;/span&gt; &lt;span class=&quot;nb&quot;&gt;zip&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;actual&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;predicted&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)]&lt;/span&gt;
    &lt;span class=&quot;k&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;nb&quot;&gt;sum&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;errors&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;/&lt;/span&gt; &lt;span class=&quot;nb&quot;&gt;len&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;errors&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Long code lines scroll horizontally inside the block.&lt;/p&gt;

&lt;h2 id=&quot;7-images&quot;&gt;7. Images&lt;/h2&gt;

&lt;p&gt;Save a figure in this article’s &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;images/&lt;/code&gt; folder. This expression automatically uses the current article URL:&lt;/p&gt;

&lt;div class=&quot;language-liquid highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;![A description of the figure](&lt;span class=&quot;p&quot;&gt;{{&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;page&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;url&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;append&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;s1&quot;&gt;&apos;images/process.svg&apos;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nf&quot;&gt;relative_url&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;}}&lt;/span&gt;)
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;For a caption, use &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;&amp;lt;figure&amp;gt;&lt;/code&gt;, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;&amp;lt;img&amp;gt;&lt;/code&gt;, and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;&amp;lt;figcaption&amp;gt;&lt;/code&gt; as in this article’s source:&lt;/p&gt;

&lt;figure&gt;
  &lt;img src=&quot;/blog/example/images/process.svg&quot; alt=&quot;A diagram with three boxes: question, method, and open questions&quot; width=&quot;900&quot; height=&quot;240&quot; loading=&quot;lazy&quot;&gt;
  &lt;figcaption&gt;Figure 1. An example image and caption.&lt;/figcaption&gt;
&lt;/figure&gt;

&lt;h2 id=&quot;8-tables&quot;&gt;8. Tables&lt;/h2&gt;

&lt;p&gt;Use pipes to separate columns and a row of dashes beneath the header:&lt;/p&gt;

&lt;div class=&quot;language-markdown highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;| File | Purpose |
| --- | --- |
| index.md | Article text |
| references.md | Bibliography |
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;table&gt;
  &lt;thead&gt;
    &lt;tr&gt;
      &lt;th&gt;File&lt;/th&gt;
      &lt;th&gt;Purpose&lt;/th&gt;
    &lt;/tr&gt;
  &lt;/thead&gt;
  &lt;tbody&gt;
    &lt;tr&gt;
      &lt;td&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;index.md&lt;/code&gt;&lt;/td&gt;
      &lt;td&gt;Article text and metadata&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;
&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;references.md&lt;/code&gt; or &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;references.bib&lt;/code&gt;
&lt;/td&gt;
      &lt;td&gt;Bibliographic records&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;images/&lt;/code&gt;&lt;/td&gt;
      &lt;td&gt;This article’s figures&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;
&lt;/table&gt;

&lt;h2 id=&quot;9-reference-files&quot;&gt;9. Reference files&lt;/h2&gt;

&lt;p&gt;Create &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;references.md&lt;/code&gt; next to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;index.md&lt;/code&gt;. Paste BibTeX entries inside a fenced &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;bibtex&lt;/code&gt; block:&lt;/p&gt;

&lt;div class=&quot;language-markdown highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;gh&quot;&gt;# References&lt;/span&gt;

&lt;span class=&quot;p&quot;&gt;```&lt;/span&gt;&lt;span class=&quot;nl&quot;&gt;bibtex
&lt;/span&gt;&lt;span class=&quot;nc&quot;&gt;@article&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;nl&quot;&gt;knuth1984&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
  &lt;span class=&quot;na&quot;&gt;author&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;{Knuth, Donald E.}&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
  &lt;span class=&quot;na&quot;&gt;title&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;{Literate Programming}&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
  &lt;span class=&quot;na&quot;&gt;journal&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;{The Computer Journal}&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
  &lt;span class=&quot;na&quot;&gt;year&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;{1984}&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
  &lt;span class=&quot;na&quot;&gt;volume&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;{27}&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
  &lt;span class=&quot;na&quot;&gt;number&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;{2}&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
  &lt;span class=&quot;na&quot;&gt;pages&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;{97--111}&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;,&lt;/span&gt;
  &lt;span class=&quot;na&quot;&gt;doi&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;=&lt;/span&gt; &lt;span class=&quot;s&quot;&gt;{10.1093/comjnl/27.2.97}&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;```&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;If you already have a &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;.bib&lt;/code&gt; file, save it as &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;references.bib&lt;/code&gt; instead, without code fences. No additional configuration is needed.&lt;/p&gt;

&lt;h2 id=&quot;10-preview&quot;&gt;10. Preview&lt;/h2&gt;

&lt;p&gt;From the project directory, run:&lt;/p&gt;

&lt;div class=&quot;language-sh highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;bundle &lt;span class=&quot;nb&quot;&gt;install
&lt;/span&gt;bundle &lt;span class=&quot;nb&quot;&gt;exec &lt;/span&gt;jekyll liveserve &lt;span class=&quot;nt&quot;&gt;--host&lt;/span&gt; 127.0.0.1
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Open &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/blog/&lt;/code&gt; on the local preview. Edits to the article, images, or references are picked up automatically. To check a production build, run &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;bundle exec jekyll build&lt;/code&gt;.&lt;/p&gt;

&lt;div class=&quot;footnotes&quot; role=&quot;doc-endnotes&quot;&gt;
  &lt;ol&gt;
    &lt;li id=&quot;fn:note&quot; role=&quot;doc-endnote&quot;&gt;
      &lt;p&gt;This is a sample footnote. It is separate from the numbered bibliography below. &lt;a href=&quot;#fnref:note&quot; class=&quot;reversefootnote&quot; role=&quot;doc-backlink&quot;&gt;↩&lt;/a&gt;&lt;/p&gt;
    &lt;/li&gt;
  &lt;/ol&gt;
&lt;/div&gt;
&lt;section class=&quot;blog-references&quot; role=&quot;doc-bibliography&quot; aria-labelledby=&quot;references-heading&quot;&gt;&lt;h2 id=&quot;references-heading&quot;&gt;References&lt;/h2&gt;&lt;ol&gt;&lt;li id=&quot;ref-knuth1984&quot;&gt;&lt;div class=&quot;blog-reference__entry&quot;&gt;Donald E. Knuth. (1984). &lt;cite&gt;Literate Programming&lt;/cite&gt;. The Computer Journal, 27(2), 97–111. &lt;a class=&quot;blog-reference__doi&quot; href=&quot;https://doi.org/10.1093/comjnl/27.2.97&quot;&gt;doi:10.1093/comjnl/27.2.97&lt;/a&gt; &lt;span class=&quot;blog-reference__backlinks&quot;&gt;&lt;a href=&quot;#cite-knuth1984--1&quot; role=&quot;doc-backlink&quot; aria-label=&quot;Return to citation 1 of reference 1&quot; title=&quot;Return to citation 1&quot;&gt;↩1&lt;/a&gt;&lt;a href=&quot;#cite-knuth1984--2&quot; role=&quot;doc-backlink&quot; aria-label=&quot;Return to citation 2 of reference 1&quot; title=&quot;Return to citation 2&quot;&gt;↩2&lt;/a&gt;&lt;a href=&quot;#cite-knuth1984--3&quot; role=&quot;doc-backlink&quot; aria-label=&quot;Return to citation 3 of reference 1&quot; title=&quot;Return to citation 3&quot;&gt;↩3&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li id=&quot;ref-shannon1948&quot;&gt;&lt;div class=&quot;blog-reference__entry&quot;&gt;Claude E. Shannon. (1948). &lt;cite&gt;&lt;a href=&quot;https://www.nokia.com/bell-labs/publications-and-media/publications/a-mathematical-theory-of-communication/&quot;&gt;A Mathematical Theory of Communication&lt;/a&gt;&lt;/cite&gt;. The Bell System Technical Journal, 27(3), 379–423. &lt;span class=&quot;blog-reference__backlinks&quot;&gt;&lt;a href=&quot;#cite-shannon1948--1&quot; role=&quot;doc-backlink&quot; aria-label=&quot;Return to citation 1 of reference 2&quot; title=&quot;Return to citation 1&quot;&gt;↩1&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/section&gt;</content><author><name>Yitong Zhang</name><email>zhangyt26@mails.tsinghua.edu.cn</email></author><category term="Guide" /><summary type="html">This page is a working example. Copy its folder to start a new post, then replace the text, images, and bibliography.</summary></entry></feed>