What is the pandoc.labs module?
masterThe pandoc.labs module is an experimental feature set within the pandoc library. It provides a Query object (returned by the query() function) that acts as a collection of document elements. This collection allows for parallel operations and "no-failure" searching, meaning operations that find no matches return an empty collection rather than raising an error.
Warning: The interface for pandoc.labs is highly unstable and should not be used for production applications.
import pandoc
from pandoc.types import *
from pandoc.labs import *
HELLOWORLD_DOC = pandoc.read("Hello world!")
q = query(HELLOWORLD_DOC)