Skip to content

Latest commit

 

History

History
19 lines (9 loc) · 1.07 KB

README.md

File metadata and controls

19 lines (9 loc) · 1.07 KB

cps-cheatsheets

inspired by devhints.io

most cheatsheet snippet forked from rstacruz/cheatsheets, although i makes some parse-style changes to better suite coderplanets.com use cases.

contribute

elixir 社区的 cheatsheets 为例:

对应的源文件为当前仓库下的 elixir.md(以语言或框架的的名字为文件名),文件中的 {{ ::cards-header:: }} {{ ::card-item:: }} {{ ::group:: }} 会被当做标识符用于将相关内容解析为卡片的形式,相关对应关系如下所示:

image

{{ ::group:: }} 用作每一个大类的分隔符,比如分隔 Basic Types 和 Control Flow, Control Flow 与 Types 等等

image