diff options
author | Vinicius Reis <vinicius.reis@nextcloud.com> | 2022-03-04 20:48:52 +0300 |
---|---|---|
committer | Vinicius Reis <vinicius.reis@nextcloud.com> | 2022-03-14 17:38:28 +0300 |
commit | 79cabea782985eb575d8279680eb349ccbd47dcc (patch) | |
tree | a71bd95a9ec1720acedea717baf7b692c71b0d14 /src | |
parent | 54d6b790dc6b5da189541d99fd4cf2075d624212 (diff) |
🐛 (#2184): fix missing container type
use type in toMarkdown
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/nodes/CustomContainer.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nodes/CustomContainer.js b/src/nodes/CustomContainer.js index 920c075e4..fdf9ded53 100644 --- a/src/nodes/CustomContainer.js +++ b/src/nodes/CustomContainer.js @@ -78,7 +78,7 @@ export default Node.create({ }, toMarkdown: (state, node) => { - state.write('::: info' + (node.attrs.params || '') + '\n') + state.write('::: ' + (node.attrs.type || 'info') + '\n') state.text(node.textContent, false) state.ensureNewLine() state.write(':::') |