# legivel > legivel converts Markdown to PDF in the browser editor, over a REST API and through an MCP server for AI agents. Markdown in, a properly typeset PDF out: real line breaking, tables that survive a page break, vector diagrams and formulas. 100 free documents a month. ## Docs - [Introduction](https://legivel.com/docs.md): Render markdown to a typeset PDF over one HTTP call, or from an agent through MCP. - [Get your API key](https://legivel.com/docs/api-key.md): Create a key on the account page. It is shown once, so copy it there. - [Quickstart](https://legivel.com/docs/quickstart.md): Your first PDF in three steps: export the key, send a markdown file, save the response. - [Authentication](https://legivel.com/docs/authentication.md): Every request carries a Bearer token: an API key from the account page. - [Render a PDF](https://legivel.com/docs/api/render.md): POST /v1/render takes markdown and answers with the finished PDF. - [Read usage](https://legivel.com/docs/api/usage.md): GET /v1/usage reports the account's month and each key's share of it. - [Errors and quota](https://legivel.com/docs/errors.md): The stable error codes, what each one means, and how the monthly quota is counted. - [Limits](https://legivel.com/docs/limits.md): What each plan allows, how a document is measured, and what a refusal costs. - [Seal PDFs](https://legivel.com/docs/sealing.md): Seal a PDF with your own certificate: where to get one, what legivel keeps, and what a reader sees. - [Standards and warnings](https://legivel.com/docs/standards.md): Ask for an archival or an accessible PDF, and read which standards the file meets and why one was left out. - [MCP server](https://legivel.com/docs/mcp.md): Give Claude Code, Claude Desktop or any MCP client a render_pdf tool backed by your account. - [What renders](https://legivel.com/docs/markdown.md): The converter's markdown dialect: CommonMark plus the GitHub extensions people actually use, typeset natively. ## Examples - [All examples](https://legivel.com/examples): One sample for each feature, with its rendered pages, its Markdown and its PDF. - [Markdown text and structure in PDF](https://legivel.com/examples/text-structure): Headings with a table of contents, lists, tables that break across pages, footnotes, alerts and embedded HTML: Markdown samples with their PDFs. - [Code blocks with syntax highlighting in PDF](https://legivel.com/examples/code-blocks): Fenced code in 14 languages and their variants, colored with editor palettes, light or dark per block, rendered to PDF. Samples with their PDFs. - [LaTeX math in Markdown to PDF](https://legivel.com/examples/latex-math): Formulas written in LaTeX notation, typeset as vector glyphs: fractions, matrices, aligned equations, physics, statistics and chemistry samples. - [Mermaid diagrams in Markdown to PDF](https://legivel.com/examples/mermaid-diagrams): Flowcharts, sequence, class, state, ER, Gantt, C4 and 20 more Mermaid diagram kinds, drawn as vector art in the PDF. Samples with their PDFs. - [Mermaid charts in Markdown to PDF](https://legivel.com/examples/mermaid-charts): Pie, bar and line, quadrant, radar, Sankey and treemap charts written as text in Markdown and drawn as vector graphics in the PDF. - [Barcodes and QR codes in Markdown to PDF](https://legivel.com/examples/barcodes-qr-codes): QR, EAN, UPC, Code 128, GS1, Data Matrix, PDF417, Aztec and MaxiCode as native vector barcodes in the PDF, from one Markdown fence. - [SVG graphics in Markdown to PDF](https://legivel.com/examples/svg-graphics): SVG documents, path data and small configs in Markdown fences, rendered as native vector art in the PDF: drawings, infographics, letterheads. - [Images, emoji and world scripts in PDF](https://legivel.com/examples/images-languages): Images, color emoji, Chinese, Japanese and Korean, Arabic and Hebrew right to left, and hyphenation in 69 languages, rendered to PDF. - [Page setup: paper, margins, headers and footers](https://legivel.com/examples/page-setup): Paper formats, landscape pages, custom sizes, CSS margins, Markdown headers and footers, and page numbers in any style, set in front matter. - [Whole documents from Markdown to PDF](https://legivel.com/examples/documents): A research article, a datasheet, an itinerary, a compliance filing and a monthly report, each written in Markdown and rendered to PDF. ## API - [Render a PDF](https://api.legivel.com/v1/render): POST Markdown, receive the PDF. Bearer API key. - [OpenAPI document](https://api.legivel.com/v1/openapi.json): The REST API contract, OpenAPI 3.1. - [MCP server](https://api.legivel.com/mcp): Streamable HTTP MCP server with a render tool, for AI agents. - [Quickstart](https://legivel.com/docs/quickstart.md): Your first PDF in three steps. ## Pricing and limits - [Pricing](https://legivel.com/pricing): Start free with 100 documents a month. No card, and no watermark on what you download. - [Limits](https://legivel.com/docs/limits.md): What each plan allows, how a document is measured, and what a refusal costs. ## Legal - [Terms](https://legivel.com/terms): The contract between you and legivel for the editor, the API and the MCP server: plans, documents, acceptable use, liability, ending the service. - [Privacy](https://legivel.com/privacy): What legivel stores about you and your documents, for how long, who else touches it, and your rights. - [Cookies](https://legivel.com/cookies): The cookies and browser storage legivel uses, and what runs only after your consent. - [Refund](https://legivel.com/refund): A 14-day refund on your first payment, how renewals and cancellations work, and how to ask. - [Acceptable use](https://legivel.com/acceptable-use): What you may and may not do with legivel. - [DPA](https://legivel.com/dpa): The data processing agreement for business customers, with the standard contractual clauses incorporated by reference. - [Sub-processors](https://legivel.com/sub-processors): The companies that process data on legivel's behalf, where, and for what. - [Imprint](https://legivel.com/imprint): Legal information about the company that operates legivel. ## Optional - [Everything in one file](https://legivel.com/llms-full.txt): Every docs and sample page in full. - [Markdown headings and table of contents in PDF](https://legivel.com/examples/text-structure/headings-table-of-contents.md): A [TOC] marker becomes a table of contents with page numbers and leader dots, and every heading becomes a PDF bookmark. Sample with its PDF. - [Markdown bold, italic, highlight and keys in PDF](https://legivel.com/examples/text-structure/inline-formatting.md): Bold, italic, code, strikethrough, highlight, keyboard keys, superscript and subscript nested freely in Markdown and rendered to PDF. - [Smart quotes, dashes and ellipses in PDF](https://legivel.com/examples/text-structure/smart-typography.md): Straight quotes turn curly, double and triple hyphens become dashes and three dots an ellipsis, while code stays as written. Sample with its PDF. - [Nested, numbered and definition lists in PDF](https://legivel.com/examples/text-structure/lists.md): Bullets nested by indentation, numbered lists that renumber and start anywhere, and definition lists for a glossary, rendered from Markdown to PDF. - [Markdown task lists as PDF checkboxes](https://legivel.com/examples/text-structure/task-lists.md): Markdown task list items become real form checkboxes you can check in a PDF viewer, nested or not. Sample with its rendered pages and PDF. - [Markdown tables across page breaks in PDF](https://legivel.com/examples/text-structure/tables.md): Aligned columns, rich cells with math and links, and a header row that repeats when a long Markdown table breaks across PDF pages. - [Markdown links and internal anchors in PDF](https://legivel.com/examples/text-structure/links-anchors.md): Inline, reference and automatic links, bare URLs and email addresses, and jumps to headings inside the document, all clickable in the PDF. - [Markdown footnotes in PDF](https://legivel.com/examples/text-structure/footnotes.md): Footnote references collect as numbered notes, with formatting and links inside them, linked both ways in the PDF. Sample with its PDF. - [Blockquotes and NOTE, TIP, WARNING alerts in PDF](https://legivel.com/examples/text-structure/blockquotes-alerts.md): Nested blockquotes with lists, horizontal rules, and the five alert kinds from NOTE to CAUTION with their colors and icons, rendered to PDF. - [Embedded HTML and CSS in Markdown to PDF](https://legivel.com/examples/text-structure/embedded-html-css.md): HTML blocks with their own styles in Markdown: a table with rowspan and colspan, a styled box, inline SVG. Each block's CSS is scoped to it. - [HTML flex, grid, floats and columns in PDF](https://legivel.com/examples/text-structure/html-layout-flex-grid.md): HTML blocks in Markdown laid out like a web page: flex cards, a grid with named areas, a float with wrapping text, balanced columns. - [Modern CSS in Markdown to PDF](https://legivel.com/examples/text-structure/modern-css.md): CSS variables, calc(), oklch() and color-mix(), nesting, cascade layers and :has() in HTML blocks, with shadows, gradients and transforms. - [Legacy and pasted HTML to PDF](https://legivel.com/examples/text-structure/legacy-html-email.md): Table-built newsletters with bgcolor, align and font tags, details elements and printed forms render in Markdown the way browsers show them. - [Code syntax highlighting in Markdown to PDF](https://legivel.com/examples/code-blocks/syntax-highlighting.md): Fenced code blocks in 14 languages and their variants, colored with familiar editor palettes, rendered to PDF as selectable text. - [Light and dark code themes per block in PDF](https://legivel.com/examples/code-blocks/light-dark-code-themes.md): A code block's info string overrides the document's code theme: a dark terminal block on a light page, or one light block on a dark page. - [Inline and display LaTeX math to PDF](https://legivel.com/examples/latex-math/inline-display-math.md): Inline and display math in LaTeX notation, typeset as vector glyphs: fractions, radicals, sums, integrals, Greek letters and accents. - [Matrices, cases and aligned equations in PDF](https://legivel.com/examples/latex-math/matrices-aligned-equations.md): Matrices, piecewise cases, aligned derivations, arrays, growing delimiters and boxed results in LaTeX notation, typeset in the PDF. - [Physics equations in Markdown to PDF](https://legivel.com/examples/latex-math/physics-equations.md): Maxwell's, Schrödinger's, Dirac's and Einstein's equations, Navier-Stokes and a Lorentz boost in LaTeX notation, typeset in the PDF. - [Statistics and machine learning formulas in PDF](https://legivel.com/examples/latex-math/statistics-machine-learning.md): Bayes' theorem, the normal density, estimators, covariance matrices, softmax, attention and gradient descent in LaTeX notation, as a PDF. - [Calculus, series and transforms in PDF](https://legivel.com/examples/latex-math/analysis-number-theory.md): Limits, Taylor and Fourier series, Fourier and Laplace transforms, Cauchy's integral formula and the zeta function in LaTeX notation, as PDF. - [Engineering and finance formulas in PDF](https://legivel.com/examples/latex-math/engineering-finance-formulas.md): Transfer functions, Kirchhoff, beam deflection, compound interest, net present value and Black-Scholes in LaTeX notation, rendered to PDF. - [Chemistry equations in Markdown to PDF](https://legivel.com/examples/latex-math/chemistry-equations.md): Reaction equations and equilibria, Arrhenius, Nernst, pH, Michaelis-Menten and the ideal gas law in LaTeX notation, rendered to PDF. - [Math problem sheet from Markdown to PDF](https://legivel.com/examples/latex-math/problem-sheet.md): A university problem set with formulas in headings, lists, tables, quotes and footnotes, an aligned worked solution and a boxed answer. - [Mermaid flowchart in Markdown to PDF](https://legivel.com/examples/mermaid-diagrams/flowchart.md): A Mermaid decision flowchart with labeled edges and every node shape, drawn as vector art in the PDF. Sample with its rendered pages. - [Mermaid flowchart shapes, edges and subgraphs](https://legivel.com/examples/mermaid-diagrams/flowchart-shapes-subgraphs.md): Every Mermaid node shape and edge kind with labels, and subgraphs with their own direction, drawn as vector graphics in the PDF. - [Mermaid sequence diagram in Markdown to PDF](https://legivel.com/examples/mermaid-diagrams/sequence-diagram.md): Participants, request and reply arrows, activation bars, notes, and alt, loop and par frames in a Mermaid sequence diagram, rendered to PDF. - [Mermaid class diagram in Markdown to PDF](https://legivel.com/examples/mermaid-diagrams/class-diagram.md): Inheritance, interfaces, composition, aggregation, multiplicities and typed members in a Mermaid class diagram, rendered to PDF. - [Mermaid state diagram in Markdown to PDF](https://legivel.com/examples/mermaid-diagrams/state-diagram.md): Composite states, choice and fork pseudostates, start and end markers and notes in a Mermaid state diagram, rendered to PDF. - [Mermaid ER diagram in Markdown to PDF](https://legivel.com/examples/mermaid-diagrams/er-diagram.md): Crow's-foot cardinalities, identifying relationships and attribute blocks with key markers in a Mermaid entity relationship diagram, as PDF. - [Mermaid Gantt chart in Markdown to PDF](https://legivel.com/examples/mermaid-diagrams/gantt-chart.md): Sections, dependencies, done, active and critical tasks, milestones and an axis that skips weekends in a Mermaid Gantt chart, rendered to PDF. - [Mermaid git graph in Markdown to PDF](https://legivel.com/examples/mermaid-diagrams/git-graph.md): Branches, merges, highlighted commits and release tags in a Mermaid git graph, drawn as vector art in the PDF. Sample with its PDF. - [Mermaid mind map in Markdown to PDF](https://legivel.com/examples/mermaid-diagrams/mindmap.md): A radial Mermaid mind map with a color per branch and nested levels, drawn as vector graphics in the PDF. Sample with its rendered pages. - [Mermaid timeline in Markdown to PDF](https://legivel.com/examples/mermaid-diagrams/timeline.md): Sections and multi-event periods, each event on its own card, in a Mermaid timeline drawn as vector graphics in the PDF. - [Mermaid user journey in Markdown to PDF](https://legivel.com/examples/mermaid-diagrams/user-journey.md): Scored steps with actors across sections in a Mermaid user journey diagram, drawn as vector graphics in the PDF. - [Mermaid kanban board in Markdown to PDF](https://legivel.com/examples/mermaid-diagrams/kanban-board.md): Columns with cards, ticket ids, assignees and priority stripes in a Mermaid kanban board, drawn as vector graphics in the PDF. - [Mermaid C4 context and container diagrams](https://legivel.com/examples/mermaid-diagrams/c4-diagram.md): Persons, systems, databases, queues and boundaries with labeled relationships in Mermaid C4 diagrams, rendered from Markdown to PDF. - [Mermaid architecture diagram in Markdown to PDF](https://legivel.com/examples/mermaid-diagrams/architecture-diagram.md): Grouped services with icons and edges that name their sides in a Mermaid architecture diagram, drawn as vector graphics in the PDF. - [Mermaid block diagram in Markdown to PDF](https://legivel.com/examples/mermaid-diagrams/block-diagram.md): A column grid with nested blocks, spacers, shaped nodes and arrows in a Mermaid block diagram, drawn as vector graphics in the PDF. - [Mermaid packet diagram in Markdown to PDF](https://legivel.com/examples/mermaid-diagrams/packet-diagram.md): Bit-range rows with a bit ruler for a binary layout, the TCP header, in a Mermaid packet diagram rendered as vector graphics in the PDF. - [Mermaid requirement diagram in Markdown to PDF](https://legivel.com/examples/mermaid-diagrams/requirement-diagram.md): Requirements with id, text, risk and verification, and the elements that satisfy and verify them, in a Mermaid requirement diagram as PDF. - [Mermaid venn diagram in Markdown to PDF](https://legivel.com/examples/mermaid-diagrams/venn-diagram.md): Sets as overlapping circles with a label on every overlap in a Mermaid venn diagram, drawn as vector graphics in the PDF. - [Mermaid Wardley map in Markdown to PDF](https://legivel.com/examples/mermaid-diagrams/wardley-map.md): Components by visibility and evolution, dependencies, planned moves and notes in a Mermaid Wardley map, drawn as vector graphics in the PDF. - [Mermaid fishbone diagram in Markdown to PDF](https://legivel.com/examples/mermaid-diagrams/fishbone-diagram.md): A problem and its causes by category, nested a level deeper, in a Mermaid Ishikawa (fishbone) diagram, drawn as vector graphics in the PDF. - [Mermaid Cynefin framework in Markdown to PDF](https://legivel.com/examples/mermaid-diagrams/cynefin-framework.md): Items in the clear, complicated, complex and chaotic domains and confusion, with moves between them, in a Mermaid Cynefin diagram as PDF. - [Mermaid tree view of folders in Markdown to PDF](https://legivel.com/examples/mermaid-diagrams/tree-view.md): A folder and file tree drawn from an indented list, with connecting lines at every level, in a Mermaid tree view rendered to PDF. - [Mermaid event model in Markdown to PDF](https://legivel.com/examples/mermaid-diagrams/event-model.md): Screens, commands, events and read models in time frames, with the views each event feeds, in a Mermaid event model rendered to PDF. - [Mermaid railroad diagram in Markdown to PDF](https://legivel.com/examples/mermaid-diagrams/railroad-diagram.md): Grammar rules in ABNF, EBNF or PEG drawn as railroad tracks with choices, repeats and optional parts, rendered from Markdown to PDF. - [ZenUML sequence diagram in Markdown to PDF](https://legivel.com/examples/mermaid-diagrams/zenuml-sequence-diagram.md): Sequence diagrams written as method calls with blocks, conditions and return values in ZenUML syntax, drawn as vector graphics in the PDF. - [Mermaid swimlane diagram in Markdown to PDF](https://legivel.com/examples/mermaid-diagrams/swimlane-diagram.md): A process with one lane per team and steps that cross from lane to lane in a Mermaid swimlane diagram, drawn as vector graphics in PDF. - [Mermaid use case diagram in Markdown to PDF](https://legivel.com/examples/mermaid-diagrams/use-case-diagram.md): Actors, use cases inside a system boundary and the links between them in a Mermaid use case diagram, drawn as vector graphics in the PDF. - [Mermaid agent flow diagram in Markdown to PDF](https://legivel.com/examples/mermaid-diagrams/agent-flow-diagram.md): An AI agent's steps as typed nodes: inputs, tasks, tool calls and decisions inside a flow, in a Mermaid agent flow diagram rendered to PDF. - [Mermaid pie chart in Markdown to PDF](https://legivel.com/examples/mermaid-charts/pie-chart.md): Shares as a Mermaid pie chart, with or without values on the slices, drawn as vector graphics in the PDF. Sample with its rendered pages. - [Mermaid bar and line chart in Markdown to PDF](https://legivel.com/examples/mermaid-charts/bar-line-chart.md): Bars and lines on one axis with named categories, data labels and a custom palette in a Mermaid xychart, rendered as vector graphics in PDF. - [Mermaid quadrant chart in Markdown to PDF](https://legivel.com/examples/mermaid-charts/quadrant-chart.md): Points on two axes with a label per quadrant, point sizes and colored classes in a Mermaid quadrant chart, rendered to PDF. - [Mermaid radar chart in Markdown to PDF](https://legivel.com/examples/mermaid-charts/radar-chart.md): Several curves over named axes with a circular or polygon grid in a Mermaid radar chart, drawn as vector graphics in the PDF. - [Mermaid Sankey diagram in Markdown to PDF](https://legivel.com/examples/mermaid-charts/sankey-diagram.md): Flows as proportional bands from source to target, written as comma-separated rows, in a Mermaid Sankey diagram rendered to PDF. - [Mermaid treemap in Markdown to PDF](https://legivel.com/examples/mermaid-charts/treemap.md): Nested rectangles sized by value, with a value format and styled classes, in a Mermaid treemap drawn as vector graphics in the PDF. - [Invoice with a payment QR code from Markdown](https://legivel.com/examples/barcodes-qr-codes/invoice-payment-qr-code.md): A cross-border invoice in Markdown with lines, tax and totals, a payment QR code for banking apps and a bar code, rendered to PDF. - [Styled QR codes with logo in Markdown to PDF](https://legivel.com/examples/barcodes-qr-codes/styled-qr-codes.md): QR codes with rounded or dotted modules, gradients, colored corners, a logo in the middle and a chosen error correction level, as vector art. - [EAN, UPC and Code 128 barcodes in PDF](https://legivel.com/examples/barcodes-qr-codes/ean-upc-code-128.md): EAN-13, EAN-8, UPC-A, Code 128, ITF-14 with bearer bars, Code 39 and Codabar as native vector barcodes, rendered from Markdown to PDF. - [Data Matrix, PDF417 and Aztec codes in PDF](https://legivel.com/examples/barcodes-qr-codes/data-matrix-pdf417-aztec.md): Data Matrix, rectangular Data Matrix, PDF417 and Aztec 2D barcodes as native vector symbols, rendered from Markdown fences to PDF. - [GS1-128 and GS1 DataBar barcodes in PDF](https://legivel.com/examples/barcodes-qr-codes/gs1-128-databar.md): GS1 application identifiers in GS1-128 with (AI) syntax or FNC1 separators, and the DataBar family, as native vector barcodes in PDF. - [Micro QR and rectangular Micro QR in PDF](https://legivel.com/examples/barcodes-qr-codes/micro-qr-rmqr.md): Micro QR and rMQR codes for tight spaces, auto-sized, fixed to a version or pinned to a height, as native vector symbols in the PDF. - [Barcode labels and check digits in PDF](https://legivel.com/examples/barcodes-qr-codes/barcode-labels-check-digits.md): Label position, custom text, colors and sizes, no label at all, and MSI check digit modes for linear barcodes, rendered to PDF. - [Barcode validation and fallback in Markdown](https://legivel.com/examples/barcodes-qr-codes/barcode-validation.md): Unusable barcode options are ignored with a warning, and a payload the encoder rejects falls back to a code block with the error beneath it. - [MaxiCode barcode in Markdown to PDF](https://legivel.com/examples/barcodes-qr-codes/maxicode.md): MaxiCode on its hexagonal grid: modes 2 and 3 with a postal primary message, modes 4 to 6 with free text, as a native vector symbol in PDF. - [Shipping label with barcodes from Markdown](https://legivel.com/examples/barcodes-qr-codes/shipping-label.md): An international parcel label with carton code, SSCC, tracking QR, customs table and manifest, rendered from Markdown to PDF. - [Boarding pass and event ticket from Markdown](https://legivel.com/examples/barcodes-qr-codes/boarding-pass-ticket.md): A boarding pass with a PDF417 strip and an event ticket with an Aztec code, laid out in Markdown and rendered to PDF. - [SVG in Markdown: documents, paths and configs](https://legivel.com/examples/svg-graphics/svg-in-markdown.md): A full SVG document, bare path data that takes the text color, or a small config with fills and gradients, rendered as vector art in PDF. - [Technical drawing in SVG, Markdown to PDF](https://legivel.com/examples/svg-graphics/technical-drawing.md): A dimensioned machined part in SVG with center lines, dimension arrows, hatching and labels, rendered as vector art in the PDF. - [SVG infographic in Markdown to PDF](https://legivel.com/examples/svg-graphics/infographic.md): Reusable symbols, radial gradients, clip paths, rounded cards and text on a path in an SVG infographic, rendered as vector art in PDF. - [Business letter with SVG letterhead in PDF](https://legivel.com/examples/svg-graphics/letterhead.md): A business letter whose logo and signature are SVG fences, sharp at any zoom, with a closing table and a footnote, rendered to PDF. - [Color emoji in Markdown to PDF](https://legivel.com/examples/images-languages/emoji.md): Color emoji in prose, headings, lists and tables, plus shortcodes for about 140 common names, rendered from Markdown to PDF. - [Images in Markdown to PDF](https://legivel.com/examples/images-languages/images.md): Embedded data URI images render inline in the PDF; remote images load only when the document names them and are never stored. - [Chinese, Japanese and Korean Markdown to PDF](https://legivel.com/examples/images-languages/chinese-japanese-korean.md): Chinese, Japanese and Korean text set with bundled fonts and each script's line-breaking rules, mixed with Latin, rendered to PDF. - [Arabic, Hebrew and world scripts in PDF](https://legivel.com/examples/images-languages/right-to-left-world-scripts.md): Arabic, Persian and Hebrew right to left with mirrored lists, quotes and tables, plus nine Indic scripts, Thai, Khmer and more, rendered to PDF. - [Hyphenation in 69 languages, Markdown to PDF](https://legivel.com/examples/images-languages/hyphenation-languages.md): Set the language and long words break at the right syllables in 69 languages, with justified paragraphs and even spacing, rendered to PDF. - [Paper format: A5, A4, Letter and more](https://legivel.com/examples/page-setup/page-format.md): Name the paper in front matter: a pocket field guide on A5 with the A, B, C, JIS and US sizes, rendered from Markdown to PDF. - [Landscape pages from Markdown](https://legivel.com/examples/page-setup/landscape.md): A4 turned sideways with one word for a wide project schedule and a status table, under a header with emoji and bold text. - [Custom page size in millimeters or inches](https://legivel.com/examples/page-setup/custom-page-size.md): Width and height in front matter make a 210 × 99 mm event ticket with a QR code, without header or page number, rendered to PDF. - [Page margins in CSS order](https://legivel.com/examples/page-setup/page-margins.md): Margins written as in CSS, one to four values clockwise from the top: a B5 book page with a wide binding edge, rendered to PDF. - [Header and footer on every page](https://legivel.com/examples/page-setup/header-footer.md): A header and footer in Markdown on every page: bold title, italic department, reference in code style, draft mark and page count. - [Letterhead header from Markdown](https://legivel.com/examples/page-setup/letterhead.md): A three-line letterhead on each side of a legal memo on US Letter; the top margin grows to fit it on every page of the PDF. - [Page numbering: roman numerals, letters, text](https://legivel.com/examples/page-setup/page-numbering.md): Page numbers in roman numerals, letters or text such as Page 2 of 5, placed in bold on the right of the footer of an A5 handbook. - [Title page and page numbers that start at 41](https://legivel.com/examples/page-setup/title-page.md): A title page without header, footer or page number, and page numbers that continue from part 1 at 41 on the right of the footer, rendered to PDF. - [YAML front matter and PDF metadata](https://legivel.com/examples/documents/front-matter-metadata.md): YAML front matter is left out of the output; title and author become the PDF's document properties and language sets hyphenation. - [Dark theme PDF from Markdown](https://legivel.com/examples/documents/dark-theme.md): The whole document restyled for dark: page, text, tables, code, math, diagrams, barcodes and SVG icons, rendered from Markdown to PDF. - [Markdown to PDF feature switches in one page](https://legivel.com/examples/documents/feature-toggles.md): Every opt-out in one document: open it in the editor, turn the features off one by one and convert again to compare the PDFs. - [Research paper from Markdown to PDF](https://legivel.com/examples/documents/research-paper.md): An abstract, numbered sections, referenced equations, a figure drawn from data, a results table and footnote references, rendered to PDF. - [Product datasheet from Markdown to PDF](https://legivel.com/examples/documents/product-datasheet.md): Specification tables, an SVG dimension drawing and pinout, a derating formula, an ordering table and a Data Matrix part mark, as a PDF. - [Travel itinerary from Markdown to PDF](https://legivel.com/examples/documents/travel-itinerary.md): Flights across time zones, hotels, a Gantt chart of the week, a budget in three currencies, a rail ticket code and a checklist, as a PDF. - [Compliance filing from Markdown to PDF](https://legivel.com/examples/documents/compliance-filing.md): A quarterly regulatory return with filing details, a declaration, results per obligation, the missed one and a signatory block, as a PDF. - [Monthly report from Markdown to PDF](https://legivel.com/examples/documents/monthly-report.md): Front matter, a table of contents, metrics tables, a flowchart, a chart, a formula, footnotes and a sign-off block in one PDF report.