resolve_engine#
- dscat.docs.resolve_engine(src, engine=None)[source]#
Return the engine used for
src.With no explicit
engine, the choice follows the file type:markerfor PDFs andmarkitdownfor every other format. Legacy.docand.rtfalways usetextutil, which markitdown and marker cannot read, even when anengineis given; for any other format an explicitengineoverrides the default.