UNPKG

docutils-ts

Version:

Port of the Python Docutils library to TypeScript

9 lines (8 loc) 269 B
import read from './reader.js'; /* Recast of Publisher class to function */ /* where should reader come from? we only have one after all */ function publish(source, settings) { const document = read(source, settings); return document; } export default publish;