This is a paragraph. It's quite short.

This paragraph will result in an indented block of text, typically used for quoting other text.

This is another one.

italics

bold

  1. numbers

  1. upper-case letters and it goes over many lines!

    with two paragraphs and all!

  1. lower-case letters

    1. with a sub-list starting at a differnt number

    2. make sure the numbers are in the correct sequence though!

  1. upper-case roman Numerals

  1. lower-case roman numerals

  1. number again

  1. and again

  • a bullet point using "*"
    • a sub-list using "-"
      • yet another sub-list

    • anoter item

what

Definition lists associate a term with a definition

how

The term is a one-line phrase, and the definition is one or more paragraphs or body elements, indented relative to the term. Blank lines are not allowed between term and definition.

An example:

Whitespace, newlines, blank lines, and all kinds of markup
    (like *this* or \this) is preserved by literal blocks.
Lookie here, I've dropped an indentation level
(but not far enough)

no more example

This is performatted text, and the
last "::" paragraph is removed

Chapter 1 Title

Section 1.1 Title

Subsection 1.1.1 Title

section 1.2 Title

Chapter 2 Title

Test:

test content
test
    test

This a new paragraph.

https://macplay.github.io/images/avatar.png

Adds snippets and syntax highlighting for reStructuredText files (.rst/.rest).

alternate text

145631257134575

欢迎访问 reStructuredText 官方主页。

Python 编程语言 其实也有一些缺陷。

test 你好吗?

123465 很好。

脚注 [1]

脚注2 [2]


Header row, column 1 (header rows optional)

Header 2

Header 3

Header 4

body row 1, column 1

column 2

column 3

column 4

body row 2

Cells may span columns.

body row 3

Cells may span rows.

  • Table cells

  • contain

  • body elements.

body row 4

Inputs

Output

A

B

A or B

False

False

False

True

True

True

\begin{equation*} \alpha _t(i) = P(O_1, O_2, \ldots O_t, q_t = S_i \lambda ) \end{equation*}
这是第一个段落。
这是一个长段落,没有续行。除了行首的竖线与空格外,与 reStructuredText 最常用的基础语法——以空行分割的段落没有任何区别。继续随便写点什么,填满屏幕保证软换行。继续随便写点什么,填满屏幕保证软换行。
这是第三个段落,使用了续行。 这行也属于第三段。这个续行应保持与上一行相同的缩进水平。


以上是两个空白段落。
可以继续缩进段落和解析 行内标记
然后反缩进。
#!/usr/bin/env python3
# -*-  coding:utf-8 -*-

from email.mime.text import MIMEText
import smtplib

class Mailsender(object):
    def __init__(self, SMTP, fromaddr, passwd, toaddrs, Subject, Text, ssl, debug=False):
        self.SMTP = SMTP
        self.fromaddr = fromaddr
        self.passwd = passwd
        self.toaddrs = toaddrs
        self.Text=Text
        self.Subject = Subject
        self.ssl = ssl
        self.debug = debug
        self.creat_msg()

    def creat_msg(self):
        self.msg = MIMEText(self.Text,'plain', 'utf-8')
        self.msg['Subject'] = self.Subject
        self.msg['From'] = self.fromaddr
        self.msg['To'] = self.toaddrs

    def send_email(self):
        server = smtplib.SMTP(self.SMTP)
        if self.debug:
            server.set_debuglevel(1)
        if self.ssl:
            server.starttls()
        server.login(self.fromaddr, self.passwd)
        server.sendmail(self.fromaddr, [self.toaddrs], self.msg.as_string())
        server.quit()
>>> ls -al
    total 35592
    drwxr-xr-x+ 64 ashfinal  staff      2048 Oct  9 00:16 .
    drwxr-xr-x   6 root      admin       192 Sep 26 04:36 ..
    drwx------+  6 ashfinal  staff       192 Oct  8 23:43 Desktop
    drwx------+  3 ashfinal  staff        96 Sep 26 04:29 Documents
    drwx------+ 12 ashfinal  staff       384 Oct  8 22:08 Downloads
Author:

ashfinal

Contact:

[email protected]

Revision:

1008

Date:

2017-10-08

Copyright:

CC BY-NC-SA 3.0

学习成绩统计

姓名

学号

得分

描述

张三

1234

60

On a stick!

李四

1235

75

If we took the bones out, it wouldn't be crunchy, now would it?

王武

1245

90

On a stick!

你竟然没有听说过 reStructuredText 结构化文本标记语言 ?

点击 nikola 图标进入下一步。

当地时间是 Wed Apr 24 12:01:27 2024 +0000 。

本文档最后重建于 2024-04-24 12:01 。

游览瑞典北部的萨勒克国家公园,你可能需要花一些时间在广袤的拉帕谷。这片荒野经常被雨水浸透,山谷被高耸的山峰包围着,萨勒克国家公园是数百座山的家园,其中包括一些瑞典最高的山峰。而第一次来到山谷的游客可以安排一个向导来陪同,因为在拉帕谷没有指定的步道,所以请个导游也是非常必要的。

水分子式为:H2O;质能方程式:E = mc2;谁知道中文 啥时候 使用 上下标

www
测试。


参考资料: