innoconv.utils

Utility module

innoconv.utils.log(msg_string)[source]

Log message to stderr.

Parameters:msg_string (str) – Message that is logged
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:RuntimeError – if pandoc exits with an error