reStructuredText(.rst)语法规则
opacity-black
概述
reStructuredText简称RST,一种标记语言,类似markdown,比md要复杂,功能多一点
固件版本:micropython1.14
网页链接 链接 and offers a simple and intuitive API.
文档链接 Usage section for further information, including how to Installation the project.
备注
文档开发中
标题
结构相关
目录
书写:
.. toctree::
结构相关
webrepl
usage
api
效果:
略
标题
书写:
=========
一级标题
=========
二级标题
=========
一级标题
^^^^^^^^
二级标题
---------
三级标题
>>>>>>>>>
四级标题
:::::::::
五级标题
'''''''''
六级标题
""""""""
效果:
略
修饰
加粗
书写:
**加粗**
效果:
加粗
斜体
关键词
书写:
``关键词``
效果:
关键词
链接
超链接
文档内部索引
内容块
代码块
书写:
表格
注意
webrepl
repl
: 交互式解释器
webrepl
: 无线的repl
开启后可以实现在线更新程序, 与片上的micropython交互, 再也不怕碰到线了
开这个的教程有很多, 比如这个https://www.jianshu.com/p/c2ddd4fd05be
webrepl控制台离线版【原版的显示有点问题, 这是我改动过的版本】: 链接: https://pan.baidu.com/s/1Ai7UAa8_k_KAX2-dDl4QWg 提取码: 8ud1
Usage
Installation
To use Lumache, first install it using pip:
(.venv) $ pip install lumache
Creating recipes
To retrieve a list of random ingredients,
you can use the lumache.get_random_ingredients()
function:
The kind
parameter should be either "meat"
, "fish"
,
or "veggies"
. Otherwise, lumache.get_random_ingredients()
will raise an exception.
For example:
>>> import lumache
>>> lumache.get_random_ingredients()
['shells', 'gorgonzola', 'parsley']