mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 12:04:51 +00:00
pyrofork: docs: text-formatting: Add missings text format
Signed-off-by: wulan17 <wulan17@nusantararom.org>
This commit is contained in:
parent
149dd4a708
commit
7562d04596
1 changed files with 12 additions and 2 deletions
|
|
@ -37,12 +37,16 @@ list of the basic styles currently supported by Pyrofork.
|
||||||
- spoiler
|
- spoiler
|
||||||
- `text URL <https://pyrogram.org>`_
|
- `text URL <https://pyrogram.org>`_
|
||||||
- `user text mention <tg://user?id=123456789>`_
|
- `user text mention <tg://user?id=123456789>`_
|
||||||
|
- :emoji:`🔥`
|
||||||
- ``inline fixed-width code``
|
- ``inline fixed-width code``
|
||||||
- .. code-block:: text
|
- .. code-block:: text
|
||||||
|
|
||||||
pre-formatted
|
pre-formatted
|
||||||
fixed-width
|
fixed-width
|
||||||
code block
|
code block
|
||||||
|
- > Quoted text
|
||||||
|
|
||||||
|
- > Quoted text with collapse/expand button
|
||||||
|
|
||||||
HTML Style
|
HTML Style
|
||||||
----------
|
----------
|
||||||
|
|
@ -66,10 +70,10 @@ To strictly use this mode, pass :obj:`~pyrogram.enums.HTML` to the *parse_mode*
|
||||||
|
|
||||||
<a href="tg://user?id=123456789">inline mention</a>
|
<a href="tg://user?id=123456789">inline mention</a>
|
||||||
|
|
||||||
<code>inline fixed-width code</code>
|
|
||||||
|
|
||||||
<emoji id="12345678901234567890">🔥</emoji>
|
<emoji id="12345678901234567890">🔥</emoji>
|
||||||
|
|
||||||
|
<code>inline fixed-width code</code>
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
pre-formatted
|
pre-formatted
|
||||||
fixed-width
|
fixed-width
|
||||||
|
|
@ -78,6 +82,8 @@ To strictly use this mode, pass :obj:`~pyrogram.enums.HTML` to the *parse_mode*
|
||||||
|
|
||||||
<blockquote>Quoted text</blockquote>
|
<blockquote>Quoted text</blockquote>
|
||||||
|
|
||||||
|
<blockquote expandable>Quoted text with collapse/expand button</blockquote>
|
||||||
|
|
||||||
**Example**:
|
**Example**:
|
||||||
|
|
||||||
.. code-block:: python
|
.. code-block:: python
|
||||||
|
|
@ -150,6 +156,8 @@ To strictly use this mode, pass :obj:`~pyrogram.enums.ParseMode.MARKDOWN` to the
|
||||||
|
|
||||||
[text user mention](tg://user?id=123456789)
|
[text user mention](tg://user?id=123456789)
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
`inline fixed-width code`
|
`inline fixed-width code`
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
@ -160,6 +168,8 @@ To strictly use this mode, pass :obj:`~pyrogram.enums.ParseMode.MARKDOWN` to the
|
||||||
|
|
||||||
> Quoted text
|
> Quoted text
|
||||||
|
|
||||||
|
**> Quoted text with collapse/expand button
|
||||||
|
|
||||||
**Example**:
|
**Example**:
|
||||||
|
|
||||||
.. code-block:: python
|
.. code-block:: python
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue