Files
marqdo/doc/design/return-hr-and-code-surface.md
T
cflmyandCursor 7848180454 Release v0.0.3: function end, paragraph comments, logo, and welcome polish.
End nested functions with ---/***/empty return; blank-line comment paragraphs in lex and view; brand favicon/logo; bump crate to 0.0.3.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-04 16:03:10 +08:00

849 B
Raw Blame History

记录:返回 / 语句 / 输出 / 分割线(决议)

状态 已决议(并入 mapping v0.1 + keywords;2026-08-04 修订函数收束)
日期 2026-08-04

决议

  1. *…* = 程序语句。
  2. **…** = 返回值(架构级);空粗体 **** / ** ** = 空返回(None)并结束函数体。
  3. 输出用内置函数 print(英文),不是粗体,不是中文名。
  4. --- / ***(函数体顶层):结束本函数体(无返回值函数收束);不是分支/循环装饰框。
  5. 成段注释:空行分段;段内续行不因首字符升级为代码。
  6. 否决:无标记行 = 默认代码。

详见 keywords.md、markdown-mapping.md、code-vs-comment.md。