Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eyhn/echo
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/eyhn/echo
- Owner: EYHN
- Created: 2017-08-13T14:23:39.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-08-14T12:13:04.000Z (over 7 years ago)
- Last Synced: 2024-03-04T20:32:11.124Z (9 months ago)
- Language: TypeScript
- Size: 6.84 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# echo
基于 `markdown-it` 的颜艺 `markdown` 解析器
# 特殊操作
下面是本解析器有异于标准 `markdown` 的特殊操作。
ruby
markdown:
``` markdown
*马猴烧酒^まほうしょうじょ**滑稽^zui qiang*
```HTML:
``` html
马猴烧酒まほうしょうじょ
滑稽zui qiang
```范例:
马猴烧酒まほうしょうじょ
滑稽zui qiang
sub
markdown:
``` markdown
H~2~0
```HTML:
``` html
H20
```范例:
H20
sup
markdown:
``` markdown
29^th^
```HTML:
``` html
29th
```范例:
29th
footnote
markdown:
``` markdown
Here is a footnote reference,[^1] and another.[^longnote][^1]: Here is the footnote.
[^longnote]: Here's one with multiple blocks.
Subsequent paragraphs are indented to show that they
belong to the previous footnote.
```HTML:
``` html
Here is a footnote reference,[1] and another.[2]
Here is the footnote. ↩︎
Here’s one with multiple blocks.
Subsequent paragraphs are indented to show that they
belong to the previous footnote. ↩︎```
范例:
Here is a footnote reference,[1] and another.[2]
Here is the footnote. ↩︎
Here’s one with multiple blocks.
Subsequent paragraphs are indented to show that they
belong to the previous footnote. ↩︎deflist
markdown:
``` markdown
Term 1: Definition 1
Term 2 with *inline markup*
: Definition 2
{ some code, part of Definition 2 }
Third paragraph of definition 2.
Term 1
~ Definition 1Term 2
~ Definition 2a
~ Definition 2b
```HTML:
``` html
- Term 1
-
Definition 1
- Term 2 with inline markup
-
Definition 2
{ some code, part of Definition 2 }
Third paragraph of definition 2.
- Term 1
-
Definition 1
- Term 2
-
Definition 2a
-
Definition 2b
```
范例:
- Term 1
-
Definition 1
- Term 2 with inline markup
-
Definition 2
{ some code, part of Definition 2 }
Third paragraph of definition 2.
- Term 1
-
Definition 1
- Term 2
-
Definition 2a
-
Definition 2b
abbr
markdown:
``` markdown
*[HTML]: Hyper Text Markup Language
*[W3C]: World Wide Web Consortium
The HTML specification
is maintained by the W3C.
```
HTML:
``` html
The HTML specification
is maintained by the W3C.
```
范例:
The HTML specification
is maintained by the W3C.
emoji
markdown:
``` markdown
:) :(
```
HTML:
``` html
```
范例:
container
markdown:
``` markdown
::: warning
*here be dragons*
:::
```
HTML:
``` html
here be dragons
```
范例:
here be dragons
ins
markdown:
``` markdown
++inserted++
```
HTML:
``` html
inserted
```
范例:
inserted
mark
markdown:
``` markdown
==marked==
```
HTML:
``` html
marked
```
范例:
marked
anchor
markdown:
``` markdown
# 123
```
HTML:
``` html
123 ¶
```
范例:
123 ¶
highlight
详情见 [highlight.js](https://highlightjs.org/)
linkify
markdown:
``` markdown
https://github.com/EYHN/echo
```
HTML:
``` html
```
范例:
typographer
markdown:
``` markdown
(c) (C) (r) (R) (tm) (TM) (p) (P) +-
```
HTML:
``` html
© © ® ® ™ ™ § § ±
```
范例:
© © ® ® ™ ™ § § ±
task-lists
markdown:
``` markdown
- [ ] Mercury
- [x] Venus
- [x] Earth (Orbit/Moon)
- [x] Mars
- [ ] Jupiter
- [ ] Saturn
- [ ] Uranus
- [ ] Neptune
- [ ] Comet Haley
```
HTML:
``` html
- Mercury
- Venus
- Earth (Orbit/Moon)
- Mars
- Jupiter
- Saturn
- Uranus
- Neptune
- Comet Haley
```
范例:
- Mercury
- Venus
- Earth (Orbit/Moon)
- Mars
- Jupiter
- Saturn
- Uranus
- Neptune
- Comet Haley