2.6.10 • Published 10 months ago

moonprism-markdown v2.6.10

Weekly downloads
33
License
MIT
Repository
github
Last release
10 months ago

a simple markdown parser. demo

Install

npm i moonprism-markdown

Use

import markdown from 'moonprism-markdown';
let html = markdown('# hello world');

Case

### A third-level heading
> Text that is a quote
>
> <https://pages.github.com/>

Here is a simple footnote[^1].

A footnote can also have multiple lines[^2].

~~This was mistaken text~~

*233***All this text is important All bold and italic**

Use `git status` to list all new or modified files that haven't yet been committed.

This site was built using [GitHub Pages](https://pages.github.com/).

[^1]: My reference.
[^2]: To add line breaks within a footnote, prefix new lines with 2 spaces.
  This is a second line.

````
```
Look! You can see my backticks.
```
````

<details><summary>Alerts</summary>

> [!NOTE]
> Useful information that users should know, even when skimming content.

> [!TIP]
> Helpful advice for doing things better or more easily.

> [!IMPORTANT]
> Key information users need to know to achieve their goal.

> [!WARNING]
> Urgent info that needs immediate user attention to avoid problems.

> [!CAUTION]
> Advises about risks or negative outcomes of certain actions.

</details>

<details><summary>Tables</summary>

| Left-aligned | Center-aligned | Right-aligned |
| :---         |     :---:      |          ---: |
| git status   | git status     | git status    |
| git diff     | git diff       | git diff      |

</details>

<details><summary>Lists</summary>

11. Lists
    - George Washington
    * John Adams
12. Nested Lists
    1. First list item
       - First nested list item
13. Task Lists
    - [x] #739
    - [ ] https://github.com/octo-org/octo-repo/issues/740

</details>

<details><summary>Images</summary>

![an Octocat smiling and raising a tentacle.](https://myoctocat.com/assets/images/base-octocat.svg)

</details>

<details><summary>Complex</summary>

- A
  >>> D
  >>
  >
  E
  - F
    ```
    G
    
    H
    ```
- B
  > - I
  >   - JK
- C

</details>
2.6.10

10 months ago

2.6.5

10 months ago

2.6.4

10 months ago

2.6.7

10 months ago

2.6.6

10 months ago

2.6.9

10 months ago

2.6.8

10 months ago

2.6.1

10 months ago

2.6.0

10 months ago

2.5.4

3 years ago

2.5.3

4 years ago

2.5.2

4 years ago

2.5.1

4 years ago

2.4.14

5 years ago

2.4.13

5 years ago

2.4.12

5 years ago

2.4.11

5 years ago

2.4.10

5 years ago

2.4.9

5 years ago

2.4.7

5 years ago

2.4.6

5 years ago

2.4.5

5 years ago

2.4.4

5 years ago

2.4.2

5 years ago

2.4.1

5 years ago

2.4.0

5 years ago

2.3.8

5 years ago

2.3.7

5 years ago

2.3.6

5 years ago

2.3.5

5 years ago

2.3.4

5 years ago

2.3.0

5 years ago

2.3.2

5 years ago

2.3.1

5 years ago

2.3.3

5 years ago

2.2.1

5 years ago

2.2.0

5 years ago

2.1.0

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago