Skip to content

Instantly share code, notes, and snippets.

@gengen1988
Created December 7, 2020 07:15
Show Gist options
  • Save gengen1988/f2ae2a2367e5a9ab0603e21c72a6a6bb to your computer and use it in GitHub Desktop.
Save gengen1988/f2ae2a2367e5a9ab0603e21c72a6a6bb to your computer and use it in GitHub Desktop.
rime 技术文档用的标点符号配置。方便写 markdown
patch:
punctuator/half_shape/+:
# 半角西文,方便写文档时加 markdown 符号
"#": "#"
"[": "["
"]": "]"
"*": "*"
"$": "$"
"@": "@"
"~": "~"
"`": "`"
"/": "/"
"=": "="
# 全角中文,偏传统。减少输入法选择符号的步骤
'"': { pair: [ '『', '』' ] }
"'": { pair: [ '「', '」' ] }
"\\": "、"
"<": "《"
">": "》"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment