############### How-to guides ############### Task-focused recipes, one job each. The pages follow the eight turbohtml namespaces, in the order the :doc:`/reference` and :doc:`/migration/index` use: parse a document and edit its tree, detect an encoding, query and match nodes, clean and minify markup, convert a selector, extract the article and its tables, build a tree, and serialize it back to HTML, Markdown, or plain text. Each page is a short, self-contained walkthrough you can lift straight into your own code, ending with running the toolkit from a shell. .. toctree:: :maxdepth: 1 parsing tokenizing forms editing encoding selecting finding extracting xpath inspecting pruning chaining matching sanitizing links minifying css-to-xpath tables main-content structured-data building serializing markdown plain-text escaping cli