Completed
Push — master ( 34dc04...9e71d1 )
by Christophe
25s
created

conversion()   A

Complexity

Conditions 1

Size

Total Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
c 1
b 0
f 0
dl 0
loc 5
rs 9.4285
1
# This Python file uses the following encoding: utf-8
2
3
from panflute import *
4
5
import pandoc_latex_admonition
6
7
def conversion(markdown, format='markdown'):
8
    doc = convert_text(markdown, standalone = True)
9
    doc.format = format
10
    pandoc_latex_admonition.main(doc)
11
    return doc
12
13