Skip to content
This repository has been archived by the owner on Aug 7, 2020. It is now read-only.

Commit

Permalink
Minor documentation improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisjsewell committed Mar 11, 2020
1 parent b666b62 commit 7b97ce1
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion docs/api/core_block_tokens.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ These block tokens are defined in the
- Description
- Example

* - ATX Heading
* - (ATX)Heading
- Level 1-6 headings, denoted by number of ``#``
- .. code-block:: md

Expand Down
14 changes: 8 additions & 6 deletions docs/api/extension_tokens.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ but are commonly implemented
~~some text~~

* - Math
- Dollar `$` enclosed math. Two ``$`` characters wrap multi-line math.
- Dollar ``$`` enclosed math. Two ``$`` characters wrap multi-line math.
- .. code-block:: latex

$a=1$ $b=2$
Expand All @@ -42,16 +42,18 @@ but are commonly implemented
* - - Table
- TableRow
- TableCell
- Markdown table style, with pipe delimitation.
- Markdown table style, with pipe delimitation,
and (optional) colon specified alignment.
- .. code-block:: md

| a | b |
| :--- | ---: |
| c | d |
| left | centre | right |
| :--- | :----: | ----: |
| a | b | c |
* - - Footnote
- FootReference
- A definition for a referencing footnote, that is placed at the bottom of the document.
- A definition for a referencing footnote,
that will usually be moved to the bottom of the document by a renderer.
- .. code-block:: md

Something that needs further explanation.[^ref]
Expand Down
4 changes: 2 additions & 2 deletions docs/api/index.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. _api/main:

mistletoe-EPB API
=================
Syntax API
==========

.. toctree::
:maxdepth: 2
Expand Down
8 changes: 3 additions & 5 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,9 @@ Parsing Markdown into an abstract syntax tree
also allows us to swap out renderers for different output formats,
without touching any of the core components.

Remember to spell mistletoe in lowercase!

```{note}
This is a version of [mistletoe] maintained by the [Excutable Book Project (EBP)][ebp-link].
It tracks the `myst` branch of [ExecutableBookProject/mistletoe](https://github.com/ExecutableBookProject/mistletoe)
It contains many improvements (see the `myst` branch of [ExecutableBookProject/mistletoe](https://github.com/ExecutableBookProject/mistletoe) for details)
which eventually, it is hoped, will be merged into mistletoe itself.
[ebp-link]: https://github.com/ExecutableBookProject
Expand Down Expand Up @@ -94,8 +92,8 @@ using/contributing.md
[commonmark-py]: https://github.com/rtfd/CommonMark-py
[oilshell]: https://www.oilshell.org/blog/2018/02/14.html
[commonmark]: https://spec.commonmark.org/
[contrib]: https://github.com/miyuchina/mistletoe/tree/master/contrib
[scheme]: https://github.com/miyuchina/mistletoe/blob/dev/contrib/scheme.py
[contrib]: https://github.com/ExecutableBookProject/mistletoe-ebp/tree/master/contrib
[scheme]: https://github.com/ExecutableBookProject/mistletoe-ebp/blob/dev/contrib/scheme.py
[example-392]: https://spec.commonmark.org/0.28/#example-392
[icon]: https://www.freepik.com
[cc-by]: https://creativecommons.org/licenses/by/3.0/us/
Expand Down
2 changes: 1 addition & 1 deletion docs/using/develop.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(develop/intro)=

## Developer's Guide
## Developer Guide

To understand the core tokens that mistletoe parses, take a look at:

Expand Down

0 comments on commit 7b97ce1

Please sign in to comment.