innoconv.utils

Utility module.

innoconv.utils.to_ast(filepath)[source]

Convert a file to abstract syntax tree using pandoc.

Parameters

filepath (str) – Path of file

Return type

(list of dicts, str)

Returns

(Pandoc AST, title)

Raises