-
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support more ft other than markdown (#3)
* feat: support more ft other than markdown * fix: doc is wrong * fix: remove * fix: lint issue
- Loading branch information
Showing
8 changed files
with
564 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
= AsciiDoc Article Title | ||
Firstname Lastname <author@asciidoctor.org> | ||
3.0, July 29, 2022: AsciiDoc article template | ||
:toc: | ||
:icons: font | ||
:url-quickref: https://docs.asciidoctor.org/asciidoc/latest/syntax-quick-reference/ | ||
|
||
Content entered directly below the header but before the first section heading is called the preamble. | ||
|
||
== First level heading | ||
|
||
This is a paragraph with a *bold* word and an _italicized_ word. | ||
|
||
.Image caption | ||
image::image-file-name.png[I am the image alt text.] | ||
|
||
This is another paragraph.footnote:[I am footnote text and will be displayed at the bottom of the article.] | ||
|
||
=== Second level heading | ||
|
||
.Unordered list title | ||
* list item 1 | ||
** nested list item | ||
*** nested nested list item 1 | ||
*** nested nested list item 2 | ||
* list item 2 | ||
|
||
This is a paragraph. | ||
|
||
.Example block title | ||
==== | ||
Content in an example block is subject to normal substitutions. | ||
==== | ||
|
||
.Sidebar title | ||
**** | ||
Sidebars contain aside text and are subject to normal substitutions. | ||
**** | ||
|
||
==== Third level heading | ||
|
||
[#id-for-listing-block] | ||
.Listing block title | ||
---- | ||
Content in a listing block is subject to verbatim substitutions. | ||
Listing block content is commonly used to preserve code input. | ||
---- | ||
|
||
===== Fourth level heading | ||
|
||
.Table title | ||
|=== | ||
|Column heading 1 |Column heading 2 | ||
|
||
|Column 1, row 1 | ||
|Column 2, row 1 | ||
|
||
|Column 1, row 2 | ||
|Column 2, row 2 | ||
|=== | ||
|
||
====== Fifth level heading | ||
|
||
[quote, firstname lastname, movie title] | ||
____ | ||
I am a block quote or a prose excerpt. | ||
I am subject to normal substitutions. | ||
____ | ||
|
||
[verse, firstname lastname, poem title and more] | ||
____ | ||
I am a verse block. | ||
Indents and endlines are preserved in verse blocks. | ||
____ | ||
|
||
== First level heading | ||
|
||
TIP: There are five admonition labels: Tip, Note, Important, Caution and Warning. | ||
|
||
// I am a comment and won't be rendered. | ||
|
||
. ordered list item | ||
.. nested ordered list item | ||
. ordered list item | ||
|
||
The text at the end of this sentence is cross referenced to <<_third_level_heading,the third level heading>> | ||
|
||
== First level heading | ||
|
||
This is a link to the https://docs.asciidoctor.org/home/[Asciidoctor documentation]. | ||
This is an attribute reference {url-quickref}[that links this text to the AsciiDoc Syntax Quick Reference]. | ||
Download: Asciidoctor gem version | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
--- | ||
layout: post | ||
title: Test for Styles | ||
permalink: /page/test-for-styles.html | ||
type: programming | ||
tags: | ||
- Test | ||
- Styles | ||
--- | ||
|
||
This is not an actual post. It is a test post for styles, which contains all available markdown syntax to prove the effect of UI styles. | ||
|
||
# H1 - heading 1 | ||
|
||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. | ||
|
||
## H2 - heading 2 | ||
|
||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. | ||
|
||
### H3 - heading 3 | ||
|
||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. | ||
|
||
#### H4 - heading 4 | ||
|
||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. | ||
|
||
##### H5 - heading 5 | ||
|
||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. | ||
|
||
<hr> | ||
|
||
```ruby | ||
def hello_world | ||
puts "hello, world" | ||
end | ||
``` | ||
|
||
And, I need some `inline code` here, which should be `long` enough. It is because that `inline code` in different `lines` can `overflow` on each other. | ||
|
||
<hr> | ||
|
||
> Blockquote: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. | ||
> Nested blockquote: | ||
> > Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. | ||
| Table | Style | Is | Here | | ||
|----|----|----|----| | ||
| 1 | gold | David | Tokyo | | ||
| 2 | platinum | Aaron | Beijing | | ||
| 3 | silver | Gareth | San Francisco | | ||
| 4 | diamond | Mitchell | London | | ||
|
||
|
||
* List 1 | ||
* Item 1 | ||
* [Item 2](/) | ||
* Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut `labore` et dolore magna aliqua. | ||
* List 2 | ||
* [List 3](/) | ||
|
||
1. Ordered 1 | ||
|
||
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut `labore` et dolore magna aliqua. | ||
|
||
2. Ordered 2 | ||
|
||
|
||
[Go To Home Page](https://crispgm.com/) | ||
|
||
![](/image/snh48-zhaoyue.jpg) | ||
|
||
![](/image/ulysses-order.png) |
Oops, something went wrong.