<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet href="pretty-atom-feed.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  
  <title>Blog Title</title>
  <subtitle>This is a longer description about your blog.</subtitle>
  <link href="https://example.com/ducnm-blog/feed/feed.xml" rel="self" />
  <link href="https://example.com/ducnm-blog/" />
  <updated>2026-04-22T14:16:46Z</updated>
  <id>https://example.com/ducnm-blog/</id>
  <author>
    <name>Your Name</name>
  </author>
  <entry>
    <title>This bolg</title>
    <link href="https://example.com/ducnm-blog/blog/this-bolg/" />
    <updated>2026-04-22T14:16:46Z</updated>
    <id>https://example.com/ducnm-blog/blog/this-bolg/</id>
    <content type="html">&lt;p&gt;Một bài viết ngắn làm rõ mục tiêu của tôi với blog này. Dựa trên &amp;quot;Five Ws&amp;quot;&lt;/p&gt;
&lt;h2 id=&quot;1-who-ai-viet&quot;&gt;1. &lt;code&gt;Who&lt;/code&gt;: ai viết&lt;/h2&gt;
&lt;p&gt;Chính là &lt;a href=&quot;https://example.com/ducnm-blog/about&quot;&gt;tôi&lt;/a&gt;. Tôi học CNTT, thành tích làng nhàng nhưng thiếu thực hành rất nhiều, giờ là lúc tôi bù đắp.&lt;/p&gt;
&lt;h2 id=&quot;2-what-blog-nay-se-co-cai-gi&quot;&gt;2. &lt;code&gt;What&lt;/code&gt;: blog này sẽ có cái gì&lt;/h2&gt;
&lt;p&gt;Khi lập blog tôi đã có rất nhiều ý tưởng, blog như là một trang cá nhân nhưng &amp;quot;riêng tư&amp;quot; hơn rất nhiều. Về sở thích của tôi: phim ảnh, bóng đá, truyện tranh... tôi không am hiểu quá sâu, nhưng viết về nó sẽ rất thú vị. Về chuyên môn của tôi: các project cá nhân, kiến thức tự học, một số môn học trên trường. Về chuyện đời: các suy ngẫm&lt;/p&gt;
&lt;h2 id=&quot;3-where-blog-dang-o-dau&quot;&gt;3. &lt;code&gt;Where&lt;/code&gt;: blog đăng ở đâu&lt;/h2&gt;
&lt;p&gt;Ở &lt;a href=&quot;https://example.com/ducnm-blog/&quot;&gt;đây&lt;/a&gt;, cái cảm giác có một web cá nhân, có một góc nhỏ của bản thân trên Internet khá là đầm ấm đấy. Có thể trên Substack nữa.&lt;/p&gt;
&lt;h2 id=&quot;4-when-khi-nao-toi-viet&quot;&gt;4. &lt;code&gt;When&lt;/code&gt;: khi nào tôi viết&lt;/h2&gt;
&lt;p&gt;Năng suất tôi mong muốn là 1 bài / tuần. Nhưng rút kinh nghiệm từ lần trước, mục tiêu của tôi có lẽ sẽ là 1 bài / 2 tuần nhưng mỗi bài phải &amp;quot;ủ&amp;quot; hơn 1 tuần.&lt;/p&gt;
&lt;h2 id=&quot;5-why-tai-sao-toi-viet&quot;&gt;5. &lt;code&gt;Why&lt;/code&gt;: tại sao tôi viết?&lt;/h2&gt;
&lt;p&gt;Là một người nhiều suy tư, &lt;a href=&quot;https://youtu.be/VHkQbEl0vpg?si=OnpIzWELHgJGxIBd&quot;&gt;viết&lt;/a&gt; là một cách tốt để tôi giải toả, làm rõ suy nghĩ, tâm trạng của mình. Ngoài ra tôi cũng muốn chia sẻ, dù chả biết phải chia sẻ cái gì lắm.&lt;/p&gt;
&lt;h2 id=&quot;6-how-toi-viet-nhu-nao&quot;&gt;6. &lt;code&gt;How&lt;/code&gt;: tôi viết như nào?&lt;/h2&gt;
&lt;p&gt;Tôi viết bằng &lt;a href=&quot;https://www.markdownguide.org/cheat-sheet/&quot;&gt;Markdown&lt;/a&gt;, nếu dùng &lt;a href=&quot;https://obsidian.md/&quot;&gt;Obsidian&lt;/a&gt; thì chắc ai cũng quen rồi. Cấu trúc của SSG sẽ là:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Tôi viết file Markdown rồi commit vào repo&lt;/li&gt;
&lt;li&gt;GitHub Actions nhận code, chạy &lt;a href=&quot;https://www.11ty.dev/&quot;&gt;Eleventy&lt;/a&gt; để render nó thành các file HTML&lt;/li&gt;
&lt;li&gt;GitHub Pages sẽ host các file html đó lên web&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Việc setup SSG sẵn giúp tôi tập trung hơn vào nội dung, kể cả viết trên VSCode cũng tập trung hơn nhiều so với trên web.&lt;/p&gt;
</content>
  </entry>
  <entry>
    <title>Hello World</title>
    <link href="https://example.com/ducnm-blog/blog/helloworld/" />
    <updated>2026-04-22T09:16:46Z</updated>
    <id>https://example.com/ducnm-blog/blog/helloworld/</id>
    <content type="html">&lt;h2 id=&quot;lai-mot-cai-web-ca-nhan-nua&quot;&gt;Lại một cái web cá nhân nữa?&lt;/h2&gt;
&lt;p&gt;Chính xác gần 4 tháng trước, tôi đã &amp;quot;host&amp;quot; một cái web cá nhân, thậm chí còn viết khoe nó như một thành tựu lớn lao nữa chứ T_T.&lt;/p&gt;
&lt;p&gt;Vậy tại sao tôi lại làm một cái khác? Ý tưởng ban đầu là luyện tập kiến thức HTML, CSS, JS thuần của tôi, làm một trang web cá nhân đơn giản, mượt mà, thế là tôi làm. Nhưng rồi tôi gặp nhiều vấn đề hơn&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Làm sao để viết blog (.md) và render ra web (.html)&lt;/li&gt;
&lt;li&gt;Làm sao để có danh sách liệt kê các post đã viết&lt;/li&gt;
&lt;li&gt;Làm sao để tạo #tag?...&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Những câu hỏi đấy đưa tôi đến SSG, cụ thể là Eleventy. Ban đầu tôi đã cố tự implement nó với một chức năng cơ bản: render md sang html. Nhưng rồi khi sang đến các chức năng khác, việc vừa đọc doc vừa thực hiện mới từ đầu là quá khó với tôi (Lại còn chơi không AI nữa). Dần dần tôi thấy mình quá sa đà vào việc &amp;quot;học Eleventy&amp;quot; thay vì luyện các kỹ năng cơ bản HTML CSS JS.&lt;/p&gt;
&lt;p&gt;36 kế chuồn là thượng sách, tôi lấy luôn cái &lt;a href=&quot;https://github.com/11ty/eleventy-base-blog&quot;&gt;starter project blog của Eleventy&lt;/a&gt; và sửa lại theo ý mình :)) HTML, CSS, JS tôi vẫn tự sửa, còn việc SSG thì tạm để Eleventy lo. Kết quả là ra quả trang này.&lt;/p&gt;
&lt;p&gt;Vẫn còn nhiều chức năng tôi muốn thử, nhưng hiện tại là ổn rồi.&lt;/p&gt;
&lt;p&gt;Bài học rút ra ở đây là:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Đôi lúc rút lui không phải là hèn&lt;/li&gt;
&lt;li&gt;Bỏ AI ra mà code là biết mình ng* cỡ nào luôn -_-&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Hy vọng lần này sẽ chăm viết bài hơn.&lt;/p&gt;
</content>
  </entry>
  <entry>
    <title>Testing markdown</title>
    <link href="https://example.com/ducnm-blog/blog/test/" />
    <updated>2026-04-22T00:00:00Z</updated>
    <id>https://example.com/ducnm-blog/blog/test/</id>
    <content type="html">&lt;h2 id=&quot;1-tieu-de-headings&quot;&gt;1. Tiêu đề (Headings)&lt;/h2&gt;
&lt;p&gt;Sử dụng dấu &lt;code&gt;#&lt;/code&gt; để tạo tiêu đề. Số lượng dấu &lt;code&gt;#&lt;/code&gt; tương ứng với cấp độ tiêu đề (từ 1 đến 6).&lt;/p&gt;
&lt;h1 id=&quot;tieu-de-cap-1-h1&quot;&gt;Tiêu đề cấp 1 (H1)&lt;/h1&gt;
&lt;h2 id=&quot;tieu-de-cap-2-h2&quot;&gt;Tiêu đề cấp 2 (H2)&lt;/h2&gt;
&lt;h3 id=&quot;tieu-de-cap-3-h3&quot;&gt;Tiêu đề cấp 3 (H3)&lt;/h3&gt;
&lt;h4 id=&quot;tieu-de-cap-4-h4&quot;&gt;Tiêu đề cấp 4 (H4)&lt;/h4&gt;
&lt;hr&gt;
&lt;h2 id=&quot;2-dinh-dang-van-ban-emphasis&quot;&gt;2. Định dạng văn bản (Emphasis)&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Chữ đậm&lt;/strong&gt;: dùng &lt;code&gt;**văn bản**&lt;/code&gt; hoặc &lt;code&gt;__văn bản__&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Chữ nghiêng&lt;/em&gt;: dùng &lt;code&gt;*văn bản*&lt;/code&gt; hoặc &lt;code&gt;_văn bản_&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;em&gt;&lt;strong&gt;Đậm và nghiêng&lt;/strong&gt;&lt;/em&gt;: dùng &lt;code&gt;***văn bản***&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;s&gt;Gạch ngang&lt;/s&gt;: dùng &lt;code&gt;~~văn bản~~&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h2 id=&quot;3-danh-sach-lists&quot;&gt;3. Danh sách (Lists)&lt;/h2&gt;
&lt;h3 id=&quot;danh-sach-khong-thu-tu-unordered-list&quot;&gt;Danh sách không thứ tự (Unordered List)&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Mục thứ nhất&lt;/li&gt;
&lt;li&gt;Mục thứ hai
&lt;ul&gt;
&lt;li&gt;Mục con cấp 1&lt;/li&gt;
&lt;li&gt;Mục con cấp 2&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Mục thứ ba&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;danh-sach-co-thu-tu-ordered-list&quot;&gt;Danh sách có thứ tự (Ordered List)&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Bước một&lt;/li&gt;
&lt;li&gt;Bước hai&lt;/li&gt;
&lt;li&gt;Bước ba&lt;/li&gt;
&lt;/ol&gt;
&lt;hr&gt;
&lt;h2 id=&quot;4-danh-sach-cong-viec-checkboxes-task-list&quot;&gt;4. Danh sách công việc (Checkboxes/Task List)&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;[x] Công việc đã hoàn thành&lt;/li&gt;
&lt;li&gt;[ ] Công việc chưa làm&lt;/li&gt;
&lt;li&gt;[ ] Việc cần làm tiếp theo&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h2 id=&quot;5-trich-dan-blockquotes&quot;&gt;5. Trích dẫn (Blockquotes)&lt;/h2&gt;
&lt;blockquote&gt;
&lt;p&gt;Đây là một dòng trích dẫn.&lt;/p&gt;
&lt;p&gt;Bạn có thể viết nhiều dòng trong một khối trích dẫn.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;hr&gt;
&lt;h2 id=&quot;6-ma-nguon-code&quot;&gt;6. Mã nguồn (Code)&lt;/h2&gt;
&lt;h3 id=&quot;code-tren-cung-mot-dong-inline-code&quot;&gt;Code trên cùng một dòng (Inline Code)&lt;/h3&gt;
&lt;p&gt;Sử dụng dấu backtick để bao quanh code: &lt;code&gt;print(&amp;quot;Hello World&amp;quot;)&lt;/code&gt;&lt;/p&gt;
&lt;h3 id=&quot;khoi-ma-nguon-code-block&quot;&gt;Khối mã nguồn (Code Block)&lt;/h3&gt;
&lt;p&gt;Sử dụng 3 dấu backtick (```) kèm tên ngôn ngữ:&lt;/p&gt;
&lt;pre class=&quot;language-python&quot; tabindex=&quot;0&quot;&gt;&lt;code class=&quot;language-python&quot;&gt;&lt;span class=&quot;token keyword&quot;&gt;def&lt;/span&gt; &lt;span class=&quot;token function&quot;&gt;hello_world&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;:&lt;/span&gt;
    &lt;span class=&quot;token keyword&quot;&gt;print&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;token string&quot;&gt;&quot;Chào mừng bạn đến với Markdown!&quot;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;)&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;hr&gt;
&lt;h2 id=&quot;7-duong-ke-ngang-horizontal-rule&quot;&gt;7. Đường kẻ ngang (Horizontal Rule)&lt;/h2&gt;
&lt;p&gt;Sử dụng ba dấu gạch ngang &lt;code&gt;---&lt;/code&gt;:&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id=&quot;8-lien-ket-va-hinh-anh-links-and-images&quot;&gt;8. Liên kết và Hình ảnh (Links &amp;amp; Images)&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Liên kết&lt;/strong&gt;: &lt;a href=&quot;https://www.google.com&quot;&gt;Tên hiển thị&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Hình ảnh&lt;/strong&gt;:&lt;/li&gt;
&lt;/ul&gt;
&lt;picture&gt;&lt;source type=&quot;image/avif&quot; srcset=&quot;https://example.com/ducnm-blog/blog/test/UnoNYfblMi-580.avif 580w&quot;&gt;&lt;source type=&quot;image/webp&quot; srcset=&quot;https://example.com/ducnm-blog/blog/test/UnoNYfblMi-580.webp 580w&quot;&gt;&lt;img loading=&quot;lazy&quot; decoding=&quot;async&quot; src=&quot;https://example.com/ducnm-blog/blog/test/UnoNYfblMi-580.jpeg&quot; alt=&quot;abc&quot; width=&quot;580&quot; height=&quot;580&quot;&gt;&lt;/picture&gt;
&lt;hr&gt;
&lt;h2 id=&quot;9-bang-tables&quot;&gt;9. Bảng (Tables)&lt;/h2&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th style=&quot;text-align:left&quot;&gt;STT&lt;/th&gt;
&lt;th style=&quot;text-align:left&quot;&gt;Tên Công Cụ&lt;/th&gt;
&lt;th style=&quot;text-align:left&quot;&gt;Chức Năng&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:left&quot;&gt;1&lt;/td&gt;
&lt;td style=&quot;text-align:left&quot;&gt;Markdown&lt;/td&gt;
&lt;td style=&quot;text-align:left&quot;&gt;Viết tài liệu nhanh&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:left&quot;&gt;2&lt;/td&gt;
&lt;td style=&quot;text-align:left&quot;&gt;VS Code&lt;/td&gt;
&lt;td style=&quot;text-align:left&quot;&gt;Trình soạn thảo tốt&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style=&quot;text-align:left&quot;&gt;3&lt;/td&gt;
&lt;td style=&quot;text-align:left&quot;&gt;Github&lt;/td&gt;
&lt;td style=&quot;text-align:left&quot;&gt;Lưu trữ mã nguồn&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;hr&gt;
&lt;h2 id=&quot;10-ky-tu-dac-biet-escaping-characters&quot;&gt;10. Ký tự đặc biệt (Escaping Characters)&lt;/h2&gt;
&lt;p&gt;Nếu bạn muốn hiển thị các ký tự đặc biệt của Markdown (như dấu #, *), hãy dùng dấu gạch chéo ngược &lt;code&gt;&#92;&lt;/code&gt; phía trước:
* Đây không phải là danh sách, đây là dấu sao.&lt;/p&gt;
</content>
  </entry>
</feed>