From 604205ec090b5c634e136bcae631c869d252412a Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 8 Nov 2020 16:14:49 +0900 Subject: MFMチートシートに数式追加 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/client/pages/mfm-cheat-sheet.vue | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/client/pages/mfm-cheat-sheet.vue b/src/client/pages/mfm-cheat-sheet.vue index 5164251696..c3e2120278 100644 --- a/src/client/pages/mfm-cheat-sheet.vue +++ b/src/client/pages/mfm-cheat-sheet.vue @@ -75,6 +75,16 @@ +
+
{{ $t('_mfm.quote') }}
+
+

{{ $t('_mfm.quoteDescription') }}

+
+ + MFM +
+
+
{{ $t('_mfm.center') }}
@@ -106,12 +116,12 @@
-
{{ $t('_mfm.quote') }}
+
{{ $t('_mfm.inlineMath') }}
-

{{ $t('_mfm.quoteDescription') }}

+

{{ $t('_mfm.inlineMathDescription') }}

- - MFM + + MFM
@@ -224,6 +234,7 @@ export default defineComponent({ preview_center: `
${this.$t('_mfm.dummy')}
`, 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 🍮]`, -- cgit v1.2.3-freya