summaryrefslogtreecommitdiff
path: root/src/ast.rs
AgeCommit message (Expand)AuthorFilesLines
2023-01-28refactor: move YamlMetadata to src/metadata.rsLars Wirzenius1-172/+0
2023-01-22chore: unused code from ast.rsLars Wirzenius1-105/+1
2023-01-22refactor: create Metadata from YamlMetadata without pandoc_astLars Wirzenius1-0/+55
2023-01-22refactor: drop abstract syntax tree built using pulldown_cmarkLars Wirzenius1-220/+2
2023-01-22chore: compile YamlMetadata::new only for testsLars Wirzenius1-0/+1
2022-12-28refactor: drop unused extract_metadata functionLars Wirzenius1-45/+0
2022-11-12chore: fix unnecessary borrows found by clippyLars Wirzenius1-1/+1
2022-10-25feat! subplot metadata field for authorsLars Wirzenius1-3/+7
2022-10-22xxxLars Wirzenius1-1/+0
2022-10-22feat: allow arbitrary Pandoc metadata in a .subplotLars Wirzenius1-1/+36
2022-09-06feat! read document metadata from a YAML fileLars Wirzenius1-24/+14
2022-09-03refactor: AST only parses Markdown, YAML is extracted outside itLars Wirzenius1-23/+8
2022-09-03refactor: expose functionality to extract embedded YAML from mdLars Wirzenius1-53/+35
2022-09-03refactor: delay use of pandoc_ast::Map to as late as possibleLars Wirzenius1-8/+6
2022-09-03refactor: make long function a little more readable with empty linesLars Wirzenius1-0/+10
2022-09-03refactor: use the more idiomatic Into to convert &str to StringLars Wirzenius1-13/+9
2022-09-03refactor: rename ast::Metadata to ast::YamlMetadata for clarityLars Wirzenius1-6/+6
2022-03-24feat! change logging to use log/env_logger instead of tracingLars Wirzenius1-31/+24
2022-03-12(chore): Update various crates a bit moreDaniel Silverstone1-1/+3
2021-11-19ast: Build images into the partial ASTDaniel Silverstone1-1/+10
2021-11-19ast: Pass bibliographies on properlyDaniel Silverstone1-1/+1
2021-11-19subplot: Rework for impls not template/functionsDaniel Silverstone1-13/+19
2021-10-17fix: regex for extracting YAML from MarkdownLars Wirzenius1-9/+15
2021-10-12fix(portability): avoid using str::split_onceLars Wirzenius1-1/+3
2021-09-18feat: allow the `documentclass` field in document metadataLars Wirzenius1-0/+4
2021-09-18ast: codeblocks with single words are classes not IDsDaniel Silverstone1-3/+4
2021-09-18ast: Codeblocks should not have extra trailing newlinesDaniel Silverstone1-0/+6
2021-09-16feat! parse Markdown input with pull-cmark instead of PandocLars Wirzenius1-0/+455
2020-09-19refactor: split src/ast.rs into src/doc.rs and src/style.rsLars Wirzenius1-455/+0
2020-09-01feat(docgen): typeset links as footnotes in PDFLars Wirzenius1-7/+34
2020-08-08refactor: split stuff from src/ast.rs into smaller modulesLars Wirzenius1-733/+16
2020-06-20Merge branch 'extract' into 'master'Daniel Silverstone1-0/+2
2020-06-08refactor: export DataFile so programs can use embedded filesLars Wirzenius1-0/+2
2020-06-06feat: Support reporting error when more than one binding matches a stepDaniel Silverstone1-9/+10
2020-05-24feat: Add linting for add-newline attributeDaniel Silverstone1-0/+41
2020-05-24feat: support adding newlines to filesDaniel Silverstone1-7/+25
2020-05-20feat!: allow multiple bindings and functions filesLars Wirzenius1-37/+33
2020-05-09Merge branch 'keepkeyword' into 'master'Daniel Silverstone1-6/+1
2020-05-09Change: keep actual text of keyword from scenarioLars Wirzenius1-6/+1
2020-05-09Change: use a base directory for relative pathsLars Wirzenius1-30/+87
2020-05-09Merge branch 'kinnison/issue-21' into 'master'Lars Wirzenius1-3/+88
2020-05-08ast: File header should be paragraphDaniel Silverstone1-1/+1
2020-05-08ast: Support and lint block class namesDaniel Silverstone1-0/+85
2020-05-08ast: Fix misleading comment on TypesettingVisitorDaniel Silverstone1-3/+3
2020-05-02Change: produce docgen output if missing or older than any sourceLars Wirzenius1-7/+103
2020-05-01Fix: nits found by cargo clippyLars Wirzenius1-5/+2
2020-04-22Change: get Python template from templates/python/template.{yaml.py}Lars Wirzenius1-0/+18
2020-04-19Drop: unnecessary to_stringLars Wirzenius1-3/+1
2020-04-19parse: Ensure continuation keywords cannot be used too earlyDaniel Silverstone1-10/+10
2020-04-15Refactor: avoid Pandoc::add_filter, move doc parsing to to ast.rsLars Wirzenius1-0/+9