LiRC572's SpaceStay hungry, stay foolishhttps://lirc572.comTips to improve concentrationhttps://lirc572.com/blog/improve-concentrationhttps://lirc572.com/blog/improve-concentrationMindfulness, cognitive training, and a healthy lifestyle may help sharpen your focus.Sat, 10 May 2025 00:00:00 GMT<p>import { Aside } from 'astro-pure/user'</p> <p>You're trying to concentrate, but your mind is wandering or you're easily distracted. What happened to the laser-sharp focus you once enjoyed? As we age, we tend to have more difficulty filtering out stimuli that are not relevant to the task at hand.</p> <h2>What's fogging up focus?</h2> <p>Like a computer that slows with use, the brain accumulates wear and tear that affects processing. This can be caused by a number of physiological stressors such as inflammation, injury to blood vessels (especially if you have high blood pressure), the buildup of abnormal proteins, and naturally occurring brain shrinkage.</p> <p>The following factors can also affect your concentration.</p> <p><strong>Underlying conditions.</strong> Depression or sleep disorders (such as sleep apnea) can undermine your ability to concentrate. So can the effects of vision or hearing loss. You waste precious cognitive resources when you spend too much time trying to make out what's written on a page or just hear what someone is saying.</p> <p><strong>Medication side effects.</strong> Some drugs, especially anticholinergics (such as treatments for incontinence, depression, or allergies), can slow processing speed and your ability to think clearly.</p> <p><strong>Excessive drinking.</strong> Having too much alcohol impairs thinking and causes interrupted sleep, which affects concentration.</p> <p><strong>Information overload.</strong> We are bombarded with information from TVs, computers, and messages such as texts or emails. When there's too much material, it burdens our filtering system and it's easy to get distracted.</p> <h2>Strategies to stay focused</h2> <p>To improve attention, consider the following strategies.</p> <p><strong>Mindfulness.</strong> "Mindfulness is about focusing attention on the present moment, and practicing mindfulness has been shown to rewire the brain so that attention is stronger in everyday life," says Kim Willment, a neuropsychologist with Brigham and Women's Hospital. She recommends sitting still for a few minutes each day, closing your eyes, and focusing on your breathing as well as the sounds and sensations around you.</p> <p><strong>Cognitive training.</strong> Computerized cognitive training games aim to improve your response times and attention. Evidence that this works has been mixed. "The goal of playing these games is not to get better at them, but to get better in the cognitive activities of everyday life," Willment says. "But there is evidence that a person's ability to pay attention can be improved by progressively pushing the person to higher levels of performance. So if you reach a certain level of sustained attention, pushing it to the next level can help improve it, and this may translate to everyday life."</p> <p><strong>A healthier lifestyle.</strong> Many aspects of a healthy lifestyle can help attention, starting with sleep and exercise. There is a direct link between exercise and cognitive ability, especially attention. When you exercise, you increase the availability of brain chemicals that promote new brain connections, reduce stress, and improve sleep. And when we sleep, we reduce stress hormones that can be harmful to the brain, and we clear out proteins that injure it.</p> <p>Aim for seven to eight hours of sleep each night, and 150 minutes per week of aerobic exercise, such as brisk walking.</p> <p>Other healthy steps to improve focus: eat a Mediterranean-style diet, which has been shown to support brain health; treat underlying conditions; and change medications that may be affecting your ability to focus.</p> <p>Getting older is out of your control, but healthier living is something you determine, and it may improve concentration.</p> <blockquote> <p>Article from: <a href="https://www.health.harvard.edu/mind-and-mood/tips-to-improve-concentration">Harvard Health Publishing</a></p> </blockquote>Using MDXhttps://lirc572.com/blog/using-mdxhttps://lirc572.com/blog/using-mdxLearning how to use MDX in AstroSun, 01 Jun 2025 00:00:00 GMT<p>This theme comes with the <a href="https://docs.astro.build/en/guides/integrations-guide/mdx/">@astrojs/mdx</a> integration installed and configured in your <code>astro.config.mjs</code> config file. If you prefer not to use MDX, you can disable support by removing the integration from your config file.</p> <h2>Why MDX?</h2> <p>MDX is a special flavor of Markdown that supports embedded JavaScript &#x26; JSX syntax. This unlocks the ability to <a href="https://docs.astro.build/en/guides/markdown-content/#mdx-features">mix JavaScript and UI Components into your Markdown content</a> for things like interactive charts or alerts.</p> <p>If you have existing content authored in MDX, this integration will hopefully make migrating to Astro a breeze.</p> <h2>Example</h2> <p>Here is how you import and use a UI component inside of MDX.<br> When you open this page in the browser, you should see the clickable button below.</p> <p>import { Button } from 'astro-pure/user'</p> <p>Click Me</p> <h2>More Links</h2> <ul> <li><a href="https://mdxjs.com/docs/what-is-mdx">MDX Syntax Documentation</a></li> <li><a href="https://docs.astro.build/en/guides/markdown-content/#markdown-and-mdx-pages">Astro Usage Documentation</a></li> <li><strong>Note:</strong> <a href="https://docs.astro.build/en/reference/directives-reference/#client-directives">Client Directives</a> are still required to create interactive components. Otherwise, all components in your MDX will render as static HTML (no JavaScript) by default.</li> </ul>What Is 3D Rendering? Complete Guide to 3D Visualizationhttps://lirc572.com/blog/3d-renderinghttps://lirc572.com/blog/3d-rendering3D imagery has the power to bring cinematic visions to life and help accurately plan tomorrow’s cityscapes. Here, 3D expert Ricardo Ortiz explains how it works.Sun, 09 Feb 2025 00:00:00 GMT<p>3D rendering is all around us. From huge action movies to car commercials to previews of upcoming buildings or product designs, 3D visualization has become so widespread and realistic that you probably don’t even know it’s there.</p> <p>In this introductory piece, Chaos’ Ricardo Ortiz explains the basics of 3D rendering, from the computational methods that create imagery to the artistic techniques that create great computer-generated (CG) content and its various uses.</p> <h2>What is 3D Rendering?</h2> <p>Put simply, 3D rendering is the process of using a computer to generate a 2D image from a digital three-dimensional scene.</p> <p>To generate an image, specific methodologies and special software and hardware are used. Therefore, we need to understand that 3D rendering is a process—the one that builds the image.</p> <p><img src="https://lirc572.com/_image?href=%2F_astro%2Fnikola-arsov-still-life-interior-design-vray-3ds-max-05-930px.DoY3_oVo.jpg&#x26;w=1920&#x26;h=1280&#x26;f=webp" alt="alt text"></p> <h2>Types of 3D rendering</h2> <p>We can create different types of rendered image; they can be realistic or non-realistic.</p> <p>A realistic image could be an architectural interior that looks like a photograph, a product-design image such as a piece of furniture, or an automotive rendering of a car. On the other hand, we can create a non-realistic image such as an outline-type diagram or a cartoon-style image with a traditional 2D look. Technically, we can visualize anything we can imagine.</p> <h2>How is 3D rendering used?</h2> <p>3D rendering is an essential technique for many industries including architecture, product design, advertising, video games and visual effects for film, TV and animation.</p> <p>In design and architecture, renders allow creative people to communicate their ideas in a clear and transparent way. A render gives them the chance to evaluate their proposals, experiment with materials, conduct studies and contextualize their designs in the real world before they are built or manufactured.</p> <p>For the media and entertainment industries, 3D rendering is fundamental to the creation of sequences and animations that tell stories, whether we’re watching an animated movie, a period drama, or an action sequence with explosions, ships from the future, exotic locales, or extraterrestrial creatures.</p> <p><img src="https://lirc572.com/_image?href=%2F_astro%2Fthanos-dd-single-image-004a.DUX4VGf-.jpg&#x26;w=1920&#x26;h=993&#x26;f=webp" alt="alt text"></p> <p>Over the past few years, the evolution of computer graphics in these industries has replaced traditional techniques. For example, special effects are being replaced by visual effects, which means stunt people no longer risk their lives in car crashes.</p> <p>In advertising, I would dare to say that 90% of automotive commercials are CG—or even more. In the architecture industry, many traditional techniques to create representations, such as scale models, have been replaced with photorealistic imagery to ensure we can see exactly how something will look once it’s built.</p> <p>Accelerating processes, reducing costs and the demand for better quality results have helped technology evolve. Hardware is more powerful than ever and the switch to CG was inevitable.</p> <h2>How is a 3D rendered image generated?</h2> <p>Two pieces of software, with different characteristics, are used to computer-generate images and animations: render engines and game engines. Render engines use a technique called ray tracing, while game engines use a technique called rasterization—and some engines mix both techniques, but we will talk about that later on.</p>The Impact of Technology on the Music Worldhttps://lirc572.com/blog/music-journeyhttps://lirc572.com/blog/music-journeyThe evolution of music is a symphony of creativity, rhythm, and technology.Sat, 30 Nov 2024 00:00:00 GMT<p>The evolution of music is a symphony of creativity, rhythm, and technology. From the humble beginnings of acoustic instruments to the present-day digital era, the relationship between music and technology has been transformative. In this article, we will explore the historical milestones, digital revolution, and emerging technologies that have shaped the music world. Join us on a journey through the chords of innovation as we discuss how technology has changed music.</p> <h2>Historical Perspective</h2> <p>The marriage of music and technology dates back centuries, with pivotal moments shaping the industry. The invention of the phonograph by Thomas Edison in the late 19th century marked the first time music could be recorded and replayed. Subsequent milestones, such as the electric guitar and the synthesizer, revolutionized music creation, paving the way for new genres and sounds.</p> <p>These technological leaps didn't merely shape the musical landscape of their time but laid a foundation for the continuous evolution of the intersection between music and technology. As artists embraced these innovations, they unlocked new avenues for creativity, paving the way for diverse sounds and genres that have become integral to the vibrant tapestry of the modern music industry. The historical perspective illuminates the symbiotic relationship between music and technology, highlighting the transformative impact that each innovation has had on the way we create, consume, and experience music.</p> <h2>Digital Revolution</h2> <p>The digital revolution has been a seismic shift in the music industry, altering how music is consumed, distributed, and produced. The transition from physical formats like CDs and vinyl to digital formats such as MP3s and streaming services has democratized access to music. The ease of streaming has transformed how listeners discover and enjoy music, challenging traditional revenue models while offering unparalleled convenience.</p> <h2>Technology in Music Consumption and Distribution</h2> <p>Streaming services have become the heartbeat of music consumption, causing a decline in traditional music stores. The accessibility of music online has reshaped distribution channels, impacting both artists and record labels. While it provides exposure to a global audience, it also poses challenges regarding fair compensation for artists. The dynamics of the industry are evolving, reflecting the intricate dance between technology and music. Music Production and Creation</p> <p>The advent of digital audio workstations (DAWs), software instruments, and electronic production techniques has democratized music creation. Artists now have powerful tools at their fingertips, enabling them to experiment with sounds, collaborate remotely, and produce music independently. This technological shift has broken down barriers, allowing for a diverse array of voices to be heard in the ever-expanding realm of music.</p>Personalized Customization Guidehttps://lirc572.com/blog/customizehttps://lirc572.com/blog/customizeastro-theme-pure Personalized Customization GuideSat, 27 Jul 2024 00:00:00 GMT<h2>Site Configuration</h2> <p><a href="https://github.com/cworld1/astro-theme-pure">astro-theme-pure</a></p> <p>Customizing this theme requires adjusting a significant amount of source code.</p> <p>We have made efforts to centralize the configuration options in the <code>src/site.config.ts</code> file for user convenience and have integrated a variety of common social media/tools icons. If you want to add new icons, you will need to modify the source code yourself.</p> <p>You can globally search for the following keywords to find the text that needs to be replaced:</p> <ul> <li><code>Lorem ipsum</code></li> <li><code>astro-theme-pure</code></li> <li><code>cworld</code></li> </ul> <p>Next, we will introduce each aspect in detail.</p> <h3>Configuration Files</h3> <p>See <a href="/docs/setup/configuration">Configuration Files</a> for details.</p> <h4>Waline Comment System</h4> <p>See <a href="/docs/integrations/comment">Waline Comment System</a> for details.</p> <h4>Footer</h4> <p>Currently supported social media include:</p> <ul> <li><code>coolapk</code></li> <li><code>telegram</code></li> <li><code>github</code></li> <li><code>bilibili</code></li> <li><code>twitter</code></li> <li><code>zhihu</code></li> <li><code>steam</code></li> <li><code>netease_music</code></li> </ul> <p>If you want to add new social media, you need to modify the following files:</p> <ul> <li> <p><code>src/types.ts</code>: Add a new <code>SocialLink.name</code> enum value and the icon mapping relationship for <code>SocialMediaIconId</code></p> </li> <li> <p><code>public/icons/social.svg</code>: Follow the existing format and add a new icon as a symbol</p> <p>It is recommended to find social media icons on the following websites to maintain consistency:</p> <ul> <li><a href="https://remixicon.com/">remixicon</a></li> <li><a href="https://www.mingcute.com/">mingcute</a></li> </ul> </li> </ul> <h3>Other Files to Replace</h3> <ul> <li><code>public/favicon</code>: The site's favicon. You can generate a favicon at <a href="https://favicon.io/favicon-converter/">favicon.io</a></li> <li><code>public/images/social-card.png</code>: The site's social card</li> <li><code>src/assets/</code>: This directory contains client-rendered avatars, sponsorship QR codes, and other images. Please replace them with your own images</li> </ul> <h2>Other Pages</h2> <h3>About</h3> <p>Currently supported icons can be found in the <code>src/icons</code> directory.</p> <p>If you want to add new Tools icons, you need to add a new icon in the <code>src/icons</code> directory.</p> <p>It is recommended to find new icons on the following websites to maintain consistency:</p> <ul> <li><a href="https://icon-sets.iconify.design/">iconify</a></li> <li><a href="https://icones.js.org/">icones</a></li> </ul> <h2>Deployment Mode</h2> <p>See <a href="/docs/deployment">Deployment</a> for details.</p>Markdown Syntax Supporthttps://lirc572.com/blog/markdownhttps://lirc572.com/blog/markdownMarkdown is a lightweight markup language.Wed, 26 Jul 2023 08:00:00 GMT<h2>Basic Syntax</h2> <p>Markdown is a lightweight and easy-to-use syntax for styling your writing.</p> <h3>Headers</h3> <p>When the content of the article is extensive, you can use headers to segment:</p> <pre><code class="language-markdown"># Header 1 ## Header 2 ## Large Header ### Small Header </code></pre> <p>Header previews would disrupt the structure of the article, so they are not displayed here.</p> <h3>Bold and Italics</h3> <pre><code class="language-markdown">_Italic text_ and **Bold text**, together will be **_Bold Italic text_** </code></pre> <p>Preview:</p> <p><em>Italic text</em> and <strong>Bold text</strong>, together will be <strong><em>Bold Italic text</em></strong></p> <h3>Links</h3> <pre><code class="language-markdown">Text link [Link Name](http://link-url) </code></pre> <p>Preview:</p> <p>Text link <a href="http://link-url">Link Name</a></p> <h3>Inline Code</h3> <pre><code class="language-markdown">This is an `inline code` </code></pre> <p>Preview:</p> <p>This is an <code>inline code</code></p> <h3>Code Blocks</h3> <pre><code class="language-markdown">```js // calculate fibonacci function fibonacci(n) { if (n &#x3C;= 1) return 1 const result = fibonacci(n - 1) + fibonacci(n - 2) // [\!code --] return fibonacci(n - 1) + fibonacci(n - 2) // [\!code ++] } ``` </code></pre> <p>Preview:</p> <pre><code class="language-js">// calculate fibonacci function fibonacci(n) { if (n &#x3C;= 1) return 1 const result = fibonacci(n - 1) + fibonacci(n - 2) // [!code --] return fibonacci(n - 1) + fibonacci(n - 2) // [!code ++] } </code></pre> <p>Currently using shiki as the code highlighting plugin. For supported languages, refer to <a href="https://shiki.matsu.io/languages.html">Shiki: Languages</a>.</p> <h3>Inline Formula</h3> <pre><code class="language-markdown">This is an inline formula $e^{i\pi} + 1 = 0$ </code></pre> <p>Preview:</p> <p>This is an inline formula $e^{i\pi} + 1 = 0$</p> <h3>Formula Blocks</h3> <pre><code class="language-markdown">$$ \hat{f}(\xi) = \int_{-\infty}^{\infty} f(x) e^{-2\pi i x \xi} \, dx $$ </code></pre> <p>Preview:</p> <p>$$ \hat{f}(\xi) = \int_{-\infty}^{\infty} f(x) e^{-2\pi i x \xi} , dx $$</p> <p>Currently using KaTeX as the math formula plugin. For supported syntax, refer to <a href="https://katex.org/docs/supported.html">KaTeX Supported Functions</a>.</p> <h4>Images</h4> <pre><code class="language-markdown">![CWorld](https://cravatar.cn/avatar/1ffe42aa45a6b1444a786b1f32dfa8aa?s=200) </code></pre> <p>Preview:</p> <p><img src="https://cravatar.cn/avatar/1ffe42aa45a6b1444a786b1f32dfa8aa?s=200" alt="CWorld"></p> <h4>Strikethrough</h4> <pre><code class="language-markdown">~~Strikethrough~~ </code></pre> <p>Preview:</p> <p>~~Strikethrough~~</p> <h3>Lists</h3> <p>Regular unordered list</p> <pre><code class="language-markdown">- 1 - 2 - 3 </code></pre> <p>Preview:</p> <ul> <li>1</li> <li>2</li> <li>3</li> </ul> <p>Regular ordered list</p> <pre><code class="language-markdown">1. GPT-4 2. Claude Opus 3. LLaMa </code></pre> <p>Preview:</p> <ol> <li>GPT-4</li> <li>Claude Opus</li> <li>LLaMa</li> </ol> <p>You can continue to nest syntax within lists.</p> <h3>Blockquotes</h3> <pre><code class="language-markdown">> Gunshot, thunder, sword rise. A scene of flowers and blood. </code></pre> <p>Preview:</p> <blockquote> <p>Gunshot, thunder, sword rise. A scene of flowers and blood.</p> </blockquote> <p>You can continue to nest syntax within blockquotes.</p> <h3>Line Breaks</h3> <p>Markdown needs a blank line to separate paragraphs.</p> <pre><code class="language-markdown">If you don't leave a blank line it will be in one paragraph First paragraph Second paragraph </code></pre> <p>Preview:</p> <p>If you don't leave a blank line it will be in one paragraph</p> <p>First paragraph</p> <p>Second paragraph</p> <h3>Separators</h3> <p>If you have the habit of writing separators, you can start a new line and enter three dashes <code>---</code> or asterisks <code>***</code>. Leave a blank line before and after when there are paragraphs:</p> <pre><code class="language-markdown">--- </code></pre> <p>Preview:</p> <hr> <h2>Advanced Techniques</h2> <h3>Inline HTML Elements</h3> <p>Currently, only some inline HTML elements are supported, including <code>&#x3C;kdb> &#x3C;b> &#x3C;i> &#x3C;em> &#x3C;sup> &#x3C;sub> &#x3C;br></code>, such as</p> <h4>Key Display</h4> <pre><code class="language-markdown">Use &#x3C;kbd>Ctrl&#x3C;/kbd> + &#x3C;kbd>Alt&#x3C;/kbd> + &#x3C;kbd>Del&#x3C;/kbd> to reboot the computer </code></pre> <p>Preview:</p> <p>Use Ctrl + Alt + Del to reboot the computer</p> <h4>Bold Italics</h4> <pre><code class="language-markdown">&#x3C;b> Markdown also applies here, such as _bold_ &#x3C;/b> </code></pre> <p>Preview:</p> <p> Markdown also applies here, such as <em>bold</em> </p> <h3>Other HTML Writing</h3> <h4>Foldable Blocks</h4> <pre><code class="language-markdown">&#x3C;details>&#x3C;summary>Click to expand&#x3C;/summary>It is hidden&#x3C;/details> </code></pre> <p>Preview:</p> <h3>Tables</h3> <pre><code class="language-markdown">| Header1 | Header2 | | -------- | -------- | | Content1 | Content2 | </code></pre> <p>Preview:</p> <p>| Header1 | Header2 | | -------- | -------- | | Content1 | Content2 |</p> <h3>Footnotes</h3> <pre><code class="language-markdown">Use [^footnote] to add a footnote at the point of reference. Then, at the end of the document, add the content of the footnote (it will be rendered at the end of the article by default). [^footnote]: Here is the content of the footnote </code></pre> <p>Preview:</p> <p>Use [^footnote] to add a footnote at the point of reference.</p> <p>Then, at the end of the document, add the content of the footnote (it will be rendered at the end of the article by default).</p> <p>[^footnote]: Here is the content of the footnote</p> <h3>To-Do Lists</h3> <pre><code class="language-markdown">- [ ] Incomplete task - [x] Completed task </code></pre> <p>Preview:</p> <ul> <li>[ ] Incomplete task</li> <li>[x] Completed task</li> </ul> <h3>Symbol Escaping</h3> <p>If you need to use markdown symbols like _ # * in your description but don't want them to be escaped, you can add a backslash before these symbols, such as <code>\_</code> <code>\#</code> <code>\*</code> to avoid it.</p> <pre><code class="language-markdown">\_Don't want the text here to be italic\_ \*\*Don't want the text here to be bold\*\* </code></pre> <p>Preview:</p> <p>_Don't want the text here to be italic_</p> <p>**Don't want the text here to be bold**</p> <hr> <h2>Embedding Astro Components</h2> <p>See <a href="/docs/integrations/components">User Components</a> and <a href="/docs/integrations/advanced">Advanced Components</a> for details.</p>Markdown 语法支持https://lirc572.com/blog/markdown-zhhttps://lirc572.com/blog/markdown-zhMarkdown 是一种轻量级的「标记语言」。Wed, 26 Jul 2023 08:00:00 GMT<h2>基本语法</h2> <p>Markdown 是一种轻量级且易于使用的语法,用于为您的写作设计风格。</p> <h3>标题</h3> <p>文章内容较多时,可以用标题分段:</p> <pre><code class="language-markdown"># 标题 1 ## 标题 2 ## 大标题 ### 小标题 </code></pre> <p>标题预览会打乱文章的结构,所以在此不展示。</p> <h3>粗斜体</h3> <pre><code class="language-markdown">_斜体文本_ **粗体文本** **_粗斜体文本_** </code></pre> <p>预览:</p> <p><em>斜体文本</em></p> <p><strong>粗体文本</strong></p> <p><strong><em>粗斜体文本</em></strong></p> <h3>链接</h3> <pre><code class="language-markdown">文字链接 [链接名称](http://链接网址) </code></pre> <p>预览:</p> <p>文字链接 <a href="http://%E9%93%BE%E6%8E%A5%E7%BD%91%E5%9D%80">链接名称</a></p> <h3>行内代码</h3> <pre><code class="language-markdown">这是一条 `单行代码` </code></pre> <p>预览:</p> <p>这是一条 <code>行内代码</code></p> <h3>代码块</h3> <pre><code class="language-markdown">```js // calculate fibonacci function fibonacci(n) { if (n &#x3C;= 1) return 1 return fibonacci(n - 1) + fibonacci(n - 2) } ``` </code></pre> <p>预览:</p> <pre><code class="language-js">// calculate fibonacci function fibonacci(n) { if (n &#x3C;= 1) return 1 return fibonacci(n - 1) + fibonacci(n - 2) } </code></pre> <p>当前使用 shiki 作为代码高亮插件,支持的语言请参考 <a href="https://shiki.matsu.io/languages.html">shiki / languages</a>。</p> <h3>行内公式</h3> <pre><code class="language-markdown">这是一条行内公式 $e^{i\pi} + 1 = 0$ </code></pre> <p>预览:</p> <p>这是一条行内公式 $e^{i\pi} + 1 = 0$</p> <h3>公式块</h3> <pre><code class="language-markdown">$$ \hat{f}(\xi) = \int_{-\infty}^{\infty} f(x) e^{-2\pi i x \xi} \, dx $$ </code></pre> <p>预览:</p> <p>$$ \hat{f}(\xi) = \int_{-\infty}^{\infty} f(x) e^{-2\pi i x \xi} , dx $$</p> <p>当前使用 KaTeX 作为数学公式插件,支持的语法请参考 <a href="https://katex.org/docs/supported.html">KaTeX Supported Functions</a>。</p> <h4>图片</h4> <pre><code class="language-markdown">![CWorld](https://cravatar.cn/avatar/1ffe42aa45a6b1444a786b1f32dfa8aa?s=200) </code></pre> <p>预览:</p> <p><img src="https://cravatar.cn/avatar/1ffe42aa45a6b1444a786b1f32dfa8aa?s=200" alt="CWorld"></p> <h4>删除线</h4> <pre><code class="language-markdown">~~删除线~~ </code></pre> <p>预览:</p> <p>~~删除线~~</p> <h3>列表</h3> <p>普通无序列表</p> <pre><code class="language-markdown">- 1 - 2 - 3 </code></pre> <p>预览:</p> <ul> <li>1</li> <li>2</li> <li>3</li> </ul> <p>普通有序列表</p> <pre><code class="language-markdown">1. GPT-4 2. Claude Opus 3. LLaMa </code></pre> <p>预览:</p> <ol> <li>GPT-4</li> <li>Claude Opus</li> <li>LLaMa</li> </ol> <p>列表里可以继续嵌套语法</p> <h3>引用</h3> <pre><code class="language-markdown">> 枪响,雷鸣,剑起。繁花血景。 </code></pre> <p>预览:</p> <blockquote> <p>枪响,雷鸣,剑起。繁花血景。</p> </blockquote> <p>引用里也可以继续嵌套语法。</p> <h3>换行</h3> <p>markdown 分段落是需要空一行的。</p> <pre><code class="language-markdown">如果不空行 就会在一段 第一段 第二段 </code></pre> <p>预览:</p> <p>如果不空行 就会在一段</p> <p>第一段</p> <p>第二段</p> <h3>分隔符</h3> <p>如果你有写分割线的习惯,可以新起一行输入三个减号<code>---</code> 或者星号 <code>***</code>。当前后都有段落时,请空出一行:</p> <pre><code class="language-markdown">--- </code></pre> <p>预览:</p> <hr> <h2>高级技巧</h2> <h3>行内 HTML 元素</h3> <p>目前只支持部分段内 HTML 元素效果,包括 <code>&#x3C;kdb> &#x3C;b> &#x3C;i> &#x3C;em> &#x3C;sup> &#x3C;sub> &#x3C;br></code> ,如</p> <h4>键位显示</h4> <pre><code class="language-markdown">使用 &#x3C;kbd>Ctrl&#x3C;/kbd> + &#x3C;kbd>Alt&#x3C;/kbd> + &#x3C;kbd>Del&#x3C;/kbd> 重启电脑 </code></pre> <p>预览:</p> <p>使用 Ctrl + Alt + Del 重启电脑</p> <h4>粗斜体</h4> <pre><code class="language-markdown">&#x3C;b> Markdown 在此处同样适用,如 _加粗_ &#x3C;/b> </code></pre> <p>预览:</p> <p> Markdown 在此处同样适用,如 <em>加粗</em> </p> <h3>其他 HTML 写法</h3> <h4>折叠块</h4> <pre><code class="language-markdown">&#x3C;details>&#x3C;summary>点击展开&#x3C;/summary>它被隐藏了&#x3C;/details> </code></pre> <p>预览:</p> <h3>表格</h3> <pre><code class="language-markdown">| 表头1 | 表头2 | | ----- | ----- | | 内容1 | 内容2 | </code></pre> <p>预览:</p> <p>| 表头1 | 表头2 | | ----- | ----- | | 内容1 | 内容2 |</p> <h3>注释</h3> <pre><code class="language-markdown">在引用的地方使用 [^注释] 来添加注释。 然后在文档的结尾,添加注释的内容(会默认于文章结尾渲染之)。 [^注释]: 这里是注释的内容 </code></pre> <p>预览:</p> <p>在引用的地方使用 <a href="%E8%BF%99%E9%87%8C%E6%98%AF%E6%B3%A8%E9%87%8A%E7%9A%84%E5%86%85%E5%AE%B9">^注释</a> 来添加注释。</p> <p>然后在文档的结尾,添加注释的内容(会默认于文章结尾渲染之)。</p> <h3>To-Do 列表</h3> <pre><code class="language-markdown">- [ ] 未完成的任务 - [x] 已完成的任务 </code></pre> <p>预览:</p> <ul> <li>[ ] 未完成的任务</li> <li>[x] 已完成的任务</li> </ul> <h3>符号转义</h3> <p>如果你的描述中需要用到 markdown 的符号,比如 _ # * 等,但又不想它被转义,这时候可以在这些符号前加反斜杠,如 <code>\_</code> <code>\#</code> <code>\*</code> 进行避免。</p> <pre><code class="language-markdown">\_不想这里的文本变斜体\_ \*\*不想这里的文本被加粗\*\* </code></pre> <p>预览:</p> <p>_不想这里的文本变斜体_</p> <p>**不想这里的文本被加粗**</p> <hr> <h2>内嵌 Astro 组件</h2> <p>See <a href="/docs/integrations/components">User Components</a> and <a href="/docs/integrations/advanced">Advanced Components</a> for details.</p>