Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Sharkey
Manage
Activity
Members
Labels
Plan
Issues
337
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
24
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
Sharkey
Commits
604205ec
Commit
604205ec
authored
4 years ago
by
syuilo
Browse files
Options
Downloads
Patches
Plain Diff
MFMチートシートに数式追加
parent
77db0168
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
locales/ja-JP.yml
+4
-0
4 additions, 0 deletions
locales/ja-JP.yml
src/client/pages/mfm-cheat-sheet.vue
+15
-4
15 additions, 4 deletions
src/client/pages/mfm-cheat-sheet.vue
with
19 additions
and
4 deletions
locales/ja-JP.yml
+
4
−
0
View file @
604205ec
...
...
@@ -628,6 +628,10 @@ _mfm:
inlineCodeDescription
:
"
プログラムなどのコードをインラインでシンタックスハイライトします。"
blockCode
:
"
コード(ブロック)"
blockCodeDescription
:
"
複数行のプログラムなどのコードをブロックでシンタックスハイライトします。"
inlineMath
:
"
数式(インライン)"
inlineMathDescription
:
"
数式(KaTeX)をインラインで表示します。"
blockMath
:
"
数式(ブロック)"
blockMathDescription
:
"
複数行の数式(KaTeX)をブロックで表示します。"
quote
:
"
引用"
quoteDescription
:
"
内容が引用であることを示すことができます。"
emoji
:
"
カスタム絵文字"
...
...
This diff is collapsed.
Click to expand it.
src/client/pages/mfm-cheat-sheet.vue
+
15
−
4
View file @
604205ec
...
...
@@ -75,6 +75,16 @@
</div>
</div>
</div>
<div
class=
"_section"
>
<div
class=
"_title"
>
{{
$t
(
'
_mfm.quote
'
)
}}
</div>
<div
class=
"_content"
>
<p>
{{
$t
(
'
_mfm.quoteDescription
'
)
}}
</p>
<div
class=
"preview _panel"
>
<Mfm
:text=
"preview_quote"
/>
<MkTextarea
v-model:value=
"preview_quote"
><span>
MFM
</span></MkTextarea>
</div>
</div>
</div>
<div
class=
"_section"
>
<div
class=
"_title"
>
{{
$t
(
'
_mfm.center
'
)
}}
</div>
<div
class=
"_content"
>
...
...
@@ -106,12 +116,12 @@
</div>
</div>
<div
class=
"_section"
>
<div
class=
"_title"
>
{{
$t
(
'
_mfm.
quote
'
)
}}
</div>
<div
class=
"_title"
>
{{
$t
(
'
_mfm.
inlineMath
'
)
}}
</div>
<div
class=
"_content"
>
<p>
{{
$t
(
'
_mfm.
quote
Description
'
)
}}
</p>
<p>
{{
$t
(
'
_mfm.
inlineMath
Description
'
)
}}
</p>
<div
class=
"preview _panel"
>
<Mfm
:text=
"preview_
quote
"
/>
<MkTextarea
v-model:value=
"preview_
quote
"
><span>
MFM
</span></MkTextarea>
<Mfm
:text=
"preview_
inlineMath
"
/>
<MkTextarea
v-model:value=
"preview_
inlineMath
"
><span>
MFM
</span></MkTextarea>
</div>
</div>
</div>
...
...
@@ -224,6 +234,7 @@ export default defineComponent({
preview_center
:
`<center>
${
this
.
$t
(
'
_mfm.dummy
'
)}
</center>`
,
preview_inlineCode
:
'
`<: "Hello, world!"`
'
,
preview_blockCode
:
'
```
\n
~ (#i, 100) {
\n\t
<: ? ((i % 15) = 0) "FizzBuzz"
\n\t\t
.? ((i % 3) = 0) "Fizz"
\n\t\t
.? ((i % 5) = 0) "Buzz"
\n\t\t
. i
\n
}
\n
```
'
,
preview_inlineMath
:
'
\\
(x=
\\
frac{-b
\'
\\
pm
\\
sqrt{(b
\'
)^2-ac}}{a}
\\
)
'
,
preview_quote
:
`>
${
this
.
$t
(
'
_mfm.dummy
'
)}
`
,
preview_search
:
`
${
this
.
$t
(
'
_mfm.dummy
'
)}
検索`
,
preview_jelly
:
`[jelly 🍮]`
,
...
...
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