<?xml version="1.0" encoding="UTF-8"?>
<rss  xmlns:atom="http://www.w3.org/2005/Atom" 
      xmlns:media="http://search.yahoo.com/mrss/" 
      xmlns:content="http://purl.org/rss/1.0/modules/content/" 
      xmlns:dc="http://purl.org/dc/elements/1.1/" 
      version="2.0">
<channel>
<title>My Blog</title>
<link>https://blog.142857369.xyz/</link>
<atom:link href="https://blog.142857369.xyz/index.xml" rel="self" type="application/rss+xml"/>
<description>数学、经济学、金融理论和长期写作实验的个人博客。</description>
<generator>quarto-1.9.37</generator>
<lastBuildDate>Wed, 20 May 2026 16:00:00 GMT</lastBuildDate>
<item>
  <title>LaTeX 与 Markdown 写作测试</title>
  <dc:creator>RebeccaKaku </dc:creator>
  <link>https://blog.142857369.xyz/posts/latex-markdown-smoke-test/</link>
  <description><![CDATA[ 





<p>这篇文章是部署前的公开 smoke test。它的作用不是讲一个完整主题，而是确认日常数学写作里最容易出问题的元素都能稳定渲染。</p>
<section id="行内与块级公式" class="level2">
<h2 class="anchored" data-anchor-id="行内与块级公式">行内与块级公式</h2>
<p>行内公式应该自然嵌入中文段落，例如 <img src="https://latex.codecogs.com/png.latex?E%20=%20mc%5E2"> 和 <img src="https://latex.codecogs.com/png.latex?%5Cnabla%20%5Ccdot%20%5Cmathbf%7BE%7D%20=%20%5Crho%20/%20%5Cvarepsilon_0">。</p>
<p>块级公式应居中显示，并允许较长表达式横向滚动：</p>
<p><img src="https://latex.codecogs.com/png.latex?%0Ai%5Chbar%5Cfrac%7B%5Cpartial%7D%7B%5Cpartial%20t%7D%5CPsi(%5Cmathbf%7Br%7D,%20t)%0A=%20%5Chat%7BH%7D%5CPsi(%5Cmathbf%7Br%7D,%20t).%0A"></p>
</section>
<section id="定理式提示块" class="level2">
<h2 class="anchored" data-anchor-id="定理式提示块">定理式提示块</h2>
<div class="callout callout-style-default callout-note callout-titled" title="一个小观察">
<div class="callout-header d-flex align-content-center">
<div class="callout-icon-container">
<i class="callout-icon"></i>
</div>
<div class="callout-title-container flex-fill">
<span class="screen-reader-only">Note</span>一个小观察
</div>
</div>
<div class="callout-body-container callout-body">
<p>如果一个写作系统能稳定处理公式、脚注、交叉引用、代码块和中文段落，那么它已经足够支撑大多数数学博客文章的第一版发布。</p>
</div>
</div>
</section>
<section id="表格与脚注" class="level2">
<h2 class="anchored" data-anchor-id="表格与脚注">表格与脚注</h2>
<table class="caption-top table">
<thead>
<tr class="header">
<th>能力</th>
<th>第一版要求</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>Markdown</td>
<td>标题、列表、表格、脚注</td>
</tr>
<tr class="even">
<td>LaTeX</td>
<td><code>$...$</code> 与 <code>$$...$$</code></td>
</tr>
<tr class="odd">
<td>代码</td>
<td>高亮、复制按钮</td>
</tr>
</tbody>
</table>
<p>脚注也应该正常工作。<sup>1</sup></p>
</section>
<section id="代码块" class="level2">
<h2 class="anchored" data-anchor-id="代码块">代码块</h2>
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb1" style="background: #f1f3f5;"><pre class="sourceCode python code-with-copy"><code class="sourceCode python"><span id="cb1-1"><span class="kw" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">def</span> energy(mass, c<span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">=</span><span class="dv" style="color: #AD0000;
background-color: null;
font-style: inherit;">299_792_458</span>):</span>
<span id="cb1-2">    <span class="cf" style="color: #003B4F;
background-color: null;
font-weight: bold;
font-style: inherit;">return</span> mass <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">*</span> c <span class="op" style="color: #5E5E5E;
background-color: null;
font-style: inherit;">**</span> <span class="dv" style="color: #AD0000;
background-color: null;
font-style: inherit;">2</span></span></code></pre></div></div>


</section>


<div id="quarto-appendix" class="default"><section id="footnotes" class="footnotes footnotes-end-of-document"><h2 class="anchored quarto-appendix-heading">Footnotes</h2>

<ol>
<li id="fn1"><p>后续可以继续加 Quarto 的交叉引用、图表编号和 citation 工作流。↩︎</p></li>
</ol>
</section></div> ]]></description>
  <category>数学</category>
  <category>写作系统</category>
  <guid>https://blog.142857369.xyz/posts/latex-markdown-smoke-test/</guid>
  <pubDate>Wed, 20 May 2026 16:00:00 GMT</pubDate>
</item>
</channel>
</rss>
