summaryrefslogtreecommitdiff
path: root/src/mfm/parse/elements/code.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/mfm/parse/elements/code.ts')
-rw-r--r--src/mfm/parse/elements/code.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mfm/parse/elements/code.ts b/src/mfm/parse/elements/code.ts
index 3c97fc1d99..63a535fc55 100644
--- a/src/mfm/parse/elements/code.ts
+++ b/src/mfm/parse/elements/code.ts
@@ -5,10 +5,10 @@
import genHtml from '../core/syntax-highlighter';
export type TextElementCode = {
- type: 'code'
- content: string
- code: string
- html: string
+ type: 'code';
+ content: string;
+ code: string;
+ html: string;
};
export default function(text: string) {