Welcome to this bilingual blog! This post demonstrates the streaming parser concept. Let me show you how the clean syntax works:

English Section

This is the English version of the content. You can write your thoughts, ideas, and stories in English here.

Features of this bilingual blog:

  • Toggle between languages with a simple button
  • Seamless switching without page reload
  • Language preference is saved locally
  • Mixed content support (some sections can be common to both languages)
  • Streaming parser - processes content character by character!

This section will only be visible when English is selected.

中文部分

这是内容的中文版本。您可以在这里用中文写下您的想法、观点和故事。

这个双语博客的特点:

  • 通过简单的按钮在语言之间切换
  • 无需重新加载页面即可无缝切换
  • 语言偏好设置会在本地保存
  • 支持混合内容(某些部分可以是两种语言共同的)
  • 流式解析器 - 逐字符处理内容!

这个部分只有在选择中文时才会显示。

This conclusion section appears in both languages since it’s not wrapped in language divs.

For authors who want the clean syntax - this is how you write it! The bilingual preprocessor will automatically convert this to proper HTML during build.