wikijs-fork/server/modules/rendering/markdown-core/definition.yml

52 lines
1.2 KiB
YAML
Raw Normal View History

2018-09-10 00:33:10 +00:00
key: markdownCore
title: Core
description: Basic Markdown Parser
author: requarks.io
input: markdown
output: html
icon: mdi-language-markdown
2018-09-10 00:33:10 +00:00
props:
allowHTML:
type: Boolean
default: true
title: Allow HTML
hint: Enable HTML tags in content
2020-04-13 01:19:22 +00:00
order: 1
2018-09-10 00:33:10 +00:00
linkify:
type: Boolean
default: true
title: Automatically convert links
hint: Links will automatically be converted to clickable links.
2020-04-13 01:19:22 +00:00
order: 2
2018-09-10 00:33:10 +00:00
linebreaks:
type: Boolean
default: true
title: Automatically convert line breaks
hint: Add linebreaks within paragraphs.
2020-04-13 01:19:22 +00:00
order: 3
2018-09-10 00:33:10 +00:00
typographer:
type: Boolean
default: false
title: Typographer
hint: Enable some language-neutral replacement + quotes beautification
2020-04-13 01:19:22 +00:00
order: 4
2018-09-10 00:33:10 +00:00
quotes:
type: String
default: English
title: Quotes style
hint: When typographer is enabled. Double + single quotes replacement pairs. e.g. «»„“ for Russian, „“‚‘ for German, etc.
2020-04-13 01:19:22 +00:00
order: 5
2018-09-10 00:33:10 +00:00
enum:
- Chinese
- English
- French
- German
- Greek
- Japanese
- Hungarian
- Polish
- Portuguese
- Russian
- Spanish
- Swedish