Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
sfm-js
Manage
Activity
Members
Labels
Plan
Issues
2
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TransFem.org
sfm-js
Commits
7df1daae
Commit
7df1daae
authored
3 years ago
by
marihachi
Browse files
Options
Downloads
Patches
Plain Diff
update syntax doc
parent
78ff5925
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/syntax.md
+42
-22
42 additions, 22 deletions
docs/syntax.md
with
42 additions
and
22 deletions
docs/syntax.md
+
42
−
22
View file @
7df1daae
...
...
@@ -8,23 +8,21 @@
-
[
中央寄せブロック
](
#center
)
インライン構文:
構文 | 改行可能?
-------------------------------|-----------
[
揺れる字
](
#big
)
| はい
[
太字
](
#bold
)
| はい
[
目立たない字
](
#small
)
| はい
[
イタリック
](
#italic
)
| はい
[
打ち消し線
](
#strike
)
| いいえ
[
インラインコード
](
#inline-code
)
| いいえ
[
インライン数式
](
#math-inline
)
| いいえ
[
メンション
](
#mention
)
| いいえ
[
ハッシュタグ
](
#hashtag
)
| いいえ
[
URL
](
#url
)
| いいえ
[
リンク
](
#link
)
| いいえ
[
絵文字コード(カスタム絵文字)
](
#emoji-code
)
| いいえ
[
MFM関数
](
#fn
)
| はい
[
Unicode絵文字
](
#unicode-emoji
)
| いいえ
[
テキスト
](
#text
)
| はい
-
[
揺れる字
](
#big
)
-
[
太字
](
#bold
)
-
[
目立たない字
](
#small
)
-
[
イタリック
](
#italic
)
-
[
打ち消し線
](
#strike
)
-
[
インラインコード
](
#inline-code
)
-
[
インライン数式
](
#math-inline
)
-
[
メンション
](
#mention
)
-
[
ハッシュタグ
](
#hashtag
)
-
[
URL
](
#url
)
-
[
リンク
](
#link
)
-
[
絵文字コード(カスタム絵文字)
](
#emoji-code
)
-
[
MFM関数
](
#fn
)
-
[
Unicode絵文字
](
#unicode-emoji
)
-
[
テキスト
](
#text
)
...
...
@@ -214,14 +212,21 @@ abc
<h1
id=
"bold"
>
太字
</h2>
## 形式
構文1:
```
**bold**
```
構文2:
```
__bold__
```
構文3:
```
<b>bold</b>
```
## ノード
```
js
{
...
...
@@ -235,7 +240,12 @@ __bold__
## 詳細
-
インライン構文。
-
内容には再度InlineParserを適用する。
-
内容には改行も含めることが可能です。
構文1,3のみ:
-
内容にはすべての文字、改行が使用できる。
構文2のみ:
-
内容には
`[a-z0-9 \t]i`
にマッチする文字が使用できる。
...
...
@@ -308,10 +318,16 @@ _italic_
<h1
id=
"strike"
>
打ち消し線
</h2>
## 形式
構文1:
```
~~strike~~
```
構文2:
```
<s>strike</s>
```
## ノード
```
js
{
...
...
@@ -325,8 +341,12 @@ _italic_
## 詳細
-
インライン構文。
-
内容には再度InlineParserを適用する。
-
内容には改行を含めることができない。
-
内容には
`~`
を含めることができない。
構文1のみ:
-
内容には
`~`
、改行以外の文字を使用できる。
構文2のみ:
-
内容には改行以外の文字を使用できる。
...
...
@@ -446,7 +466,7 @@ _italic_
## 詳細
-
インライン構文。
-
内容には半角スペース、全角スペース、改行、タブ文字を含めることができない。
-
内容には
`.`
`,`
`!`
`?`
`'`
`"`
`#`
`:`
`/`
`【`
`】`
を含めることができない。
-
内容には
`.`
`,`
`!`
`?`
`'`
`"`
`#`
`:`
`/`
`【`
`】`
`<`
`>`
を含めることができない。
-
括弧は対になっている時のみ内容に含めることができる。対象:
`()`
`[]`
`「」`
-
`#`
の前の文字が(改行、スペース、無し、[a-zA-Z0-9]に一致しない)のいずれかの場合にハッシュタグとして認識する。
-
内容が数字のみの場合はハッシュタグとして認識しない。
...
...
@@ -513,7 +533,7 @@ http://hoge.jp/abc
構文1のみ:
-
内容には
`[.,a-z0-9_/:%#@$&?!~=+-]i`
にマッチする文字を使用できる。
-
内容には対になっている括弧を使用できる。対象:
`(
`
`
)`
`[
`
`
]`
-
内容には対になっている括弧を使用できる。対象:
`(
)`
`[
]`
-
`.`
や
`,`
は最後の文字にできない。
構文2のみ:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment