panache-cli 3.8.0__tar.gz → 3.9.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {panache_cli-3.8.0 → panache_cli-3.9.0}/Cargo.lock +46 -46
- {panache_cli-3.8.0 → panache_cli-3.9.0}/Cargo.toml +3 -3
- {panache_cli-3.8.0 → panache_cli-3.9.0}/PKG-INFO +1 -1
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-formatter/CHANGELOG.md +8 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-formatter/Cargo.toml +2 -2
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-formatter/src/config.rs +1 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/CHANGELOG.md +8 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/Cargo.toml +1 -1
- panache_cli-3.9.0/crates/panache-parser/README.md +47 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/lib.rs +7 -1
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/options.rs +18 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/pandoc_ast.rs +7 -33
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/inlines/core.rs +12 -12
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/inlines/inline_ir.rs +8 -20
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/inlines/links.rs +332 -90
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/yaml/validator.rs +59 -14
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser.rs +29 -1
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/syntax/alerts.rs +24 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/syntax/attributes.rs +152 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/syntax/code_blocks.rs +344 -1
- panache_cli-3.9.0/crates/panache-parser/src/syntax/consumer.rs +638 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/syntax/fenced_divs.rs +56 -1
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/syntax/kind.rs +7 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/syntax/links.rs +146 -6
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/syntax/lists.rs +8 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/syntax/tables.rs +83 -3
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/syntax/yaml.rs +32 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/syntax/yaml_ast.rs +16 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/syntax.rs +3 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/config/types.rs +1 -0
- panache_cli-3.8.0/crates/panache-parser/README.md +0 -23
- {panache_cli-3.8.0 → panache_cli-3.9.0}/LICENSE +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/README.md +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/assets/quarto-schema/schema.json +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/build.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-formatter/README.md +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-formatter/src/directives.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-formatter/src/formatter/blockquotes.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-formatter/src/formatter/blocks.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-formatter/src/formatter/code_blocks.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-formatter/src/formatter/containers.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-formatter/src/formatter/core.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-formatter/src/formatter/document.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-formatter/src/formatter/fenced_divs.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-formatter/src/formatter/hashpipe.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-formatter/src/formatter/headings.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-formatter/src/formatter/indent_utils.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-formatter/src/formatter/inline.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-formatter/src/formatter/inline_layout.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-formatter/src/formatter/lists.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-formatter/src/formatter/math/STYLE.md +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-formatter/src/formatter/math/ir.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-formatter/src/formatter/math/lower.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-formatter/src/formatter/math/printer.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-formatter/src/formatter/math/render.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-formatter/src/formatter/math.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-formatter/src/formatter/metadata.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-formatter/src/formatter/paragraphs.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-formatter/src/formatter/preserve.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-formatter/src/formatter/raw.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-formatter/src/formatter/sentence_wrap.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-formatter/src/formatter/shortcodes.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-formatter/src/formatter/smart.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-formatter/src/formatter/tables.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-formatter/src/formatter/utils.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-formatter/src/formatter/yaml/STYLE.md +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-formatter/src/formatter/yaml/block_map.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-formatter/src/formatter/yaml/block_sequence.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-formatter/src/formatter/yaml/document.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-formatter/src/formatter/yaml/flow.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-formatter/src/formatter/yaml/options.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-formatter/src/formatter/yaml/scalar.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-formatter/src/formatter/yaml.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-formatter/src/formatter.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-formatter/src/lib.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-formatter/src/parser.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-formatter/src/syntax.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-formatter/src/utils.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-formatter/src/yaml_engine.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/build.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/data/math_symbols.json +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/data/unicode-math.LICENSE +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/data/unicode-math.NOTICE +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/grid_layout.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/block_dispatcher.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/blocks/admonitions.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/blocks/blockquotes.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/blocks/code_blocks.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/blocks/container_prefix.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/blocks/definition_lists.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/blocks/fenced_divs.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/blocks/figures.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/blocks/headings.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/blocks/horizontal_rules.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/blocks/html_blocks.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/blocks/indented_code.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/blocks/latex_envs.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/blocks/line_blocks.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/blocks/lists.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/blocks/metadata.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/blocks/myst_directives.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/blocks/myst_targets.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/blocks/paragraphs.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/blocks/raw_blocks.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/blocks/reference_links.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/blocks/tables.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/blocks/tests/blanklines.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/blocks/tests/blockquotes.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/blocks/tests/code_blocks.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/blocks/tests/content_containers.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/blocks/tests/definition_lists.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/blocks/tests/figures.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/blocks/tests/footnote_marker_line.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/blocks/tests/fragment_context.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/blocks/tests/frame_pinning.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/blocks/tests/headings.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/blocks/tests/helpers.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/blocks/tests/lists.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/blocks/tests/losslessness.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/blocks/tests/metadata_guards.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/blocks/tests/tables.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/blocks.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/core/blockquotes.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/core/definition_lists.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/core/html_interruptions.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/core/list_items.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/core.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/diagnostics.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/inlines/bookdown.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/inlines/bracketed_spans.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/inlines/citations.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/inlines/code_spans.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/inlines/emoji.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/inlines/escapes.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/inlines/hard_breaks.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/inlines/inline_executable.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/inlines/inline_footnotes.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/inlines/inline_html.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/inlines/latex.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/inlines/mark.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/inlines/math.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/inlines/myst_roles.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/inlines/myst_substitutions.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/inlines/native_spans.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/inlines/raw_inline.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/inlines/refdef_map.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/inlines/shortcodes.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/inlines/sink.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/inlines/strikeout.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/inlines/subscript.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/inlines/superscript.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/inlines/svelte.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/inlines/tests.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/inlines/uri-schemes.csv +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/inlines/wikilinks.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/inlines.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/math.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/reparse.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/utils/attributes.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/utils/chunk_options.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/utils/container_stack.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/utils/continuation.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/utils/helpers.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/utils/inline_emission.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/utils/list_item_buffer.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/utils/marker_utils.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/utils/text_buffer.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/utils/tree_copy.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/utils/yaml_regions.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/utils.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/verify.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/yaml/cooking.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/yaml/events.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/yaml/model.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/yaml/parser.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/yaml/profile.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/yaml/scanner.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/parser/yaml.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/range_utils.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/semantic/math.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/semantic.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/syntax/ast.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/syntax/block_quotes.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/syntax/blocks.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/syntax/chunk_options.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/syntax/citations.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/syntax/code_span.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/syntax/crossrefs.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/syntax/definitions.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/syntax/headings.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/syntax/inlines.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/syntax/math.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/syntax/myst.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/syntax/raw_tex.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/syntax/references.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/crates/panache-parser/src/syntax/shortcodes.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/pyproject.toml +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/bib/bibtex.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/bib/csl_json.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/bib/csl_yaml.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/bib/index.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/bib/preview.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/bib/ris.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/bib.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/bin/distill_quarto_schema.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/cache.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/cli.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/config/formatter_presets.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/config/types/schema_helpers.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/config.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/diagnostic_renderer.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/directives.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/external_formatters_common.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/external_formatters_sync.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/external_tools_common.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/formatter.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/includes.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/incremental.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/io_context.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/lib.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/linter/code_block_collector.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/linter/diagnostics.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/linter/external_linters/clippy.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/linter/external_linters/eslint.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/linter/external_linters/jarl.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/linter/external_linters/jolars.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/linter/external_linters/ruff.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/linter/external_linters/shellcheck.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/linter/external_linters/staticcheck.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/linter/external_linters.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/linter/external_linters_sync.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/linter/fuzzy.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/linter/index.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/linter/metadata_diagnostics.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/linter/offsets.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/linter/project_index.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/linter/quarto_schema/distill.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/linter/quarto_schema/interp.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/linter/quarto_schema/model.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/linter/quarto_schema/report.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/linter/quarto_schema/value.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/linter/quarto_schema.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/linter/rules/adjacent_footnote_refs.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/linter/rules/blank_line_in_display_math.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/linter/rules/blank_line_in_inline_footnote.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/linter/rules/chunk_label_spaces.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/linter/rules/citation_keys.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/linter/rules/citation_nonbreaking_space.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/linter/rules/consumer_divergence.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/linter/rules/crossref_as_link_target.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/linter/rules/duplicate_references.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/linter/rules/duplicate_yaml_anchor.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/linter/rules/emoji_aliases.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/linter/rules/empty_list_item.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/linter/rules/empty_values.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/linter/rules/figure_crossref_captions.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/linter/rules/footnote_after_image.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/linter/rules/footnote_ref_in_footnote_def.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/linter/rules/footnote_swallowed_by_bracket.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/linter/rules/heading_eaten_attrs.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/linter/rules/heading_hierarchy.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/linter/rules/heading_strip_comments_residue.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/linter/rules/html_entities.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/linter/rules/inline_math_line_break.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/linter/rules/link_text_is_url.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/linter/rules/math_content.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/linter/rules/missing_chunk_labels.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/linter/rules/quarto_schema.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/linter/rules/reversed_footnote_marker.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/linter/rules/stray_fenced_div_markers.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/linter/rules/swallowed_list_marker.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/linter/rules/table_column_count.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/linter/rules/undefined_anchor.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/linter/rules/undefined_references.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/linter/rules/unspaced_citation.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/linter/rules/unsupported_metadata_key.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/linter/rules/unused_definitions.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/linter/rules/unused_yaml_anchor.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/linter/rules.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/linter/runner.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/linter/yaml_anchors.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/linter/yaml_resolve.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/linter.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/lsp/config.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/lsp/context.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/lsp/conversions.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/lsp/dispatch.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/lsp/documents.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/lsp/global_state.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/lsp/handlers/code_actions.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/lsp/handlers/completion.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/lsp/handlers/configuration.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/lsp/handlers/diagnostics.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/lsp/handlers/document_highlight.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/lsp/handlers/document_links.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/lsp/handlers/document_symbols.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/lsp/handlers/file_operations.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/lsp/handlers/file_rename.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/lsp/handlers/file_watcher.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/lsp/handlers/folding_ranges.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/lsp/handlers/footnote_conversion.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/lsp/handlers/formatting.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/lsp/handlers/goto_definition.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/lsp/handlers/heading_link_conversion.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/lsp/handlers/hover.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/lsp/handlers/link_conversion.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/lsp/handlers/linked_editing_range.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/lsp/handlers/list_conversion.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/lsp/handlers/prepare_rename.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/lsp/handlers/references.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/lsp/handlers/rename.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/lsp/handlers/semantic_tokens.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/lsp/handlers/shortcode_args.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/lsp/handlers/workspace_folders.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/lsp/handlers/workspace_symbols.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/lsp/handlers.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/lsp/helpers.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/lsp/line_index.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/lsp/navigation.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/lsp/symbols.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/lsp/task_pool.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/lsp/testing.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/lsp/uri_ext.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/lsp.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/main.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/metadata/bibliography.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/metadata/citations.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/metadata/project.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/metadata/references.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/metadata/yaml.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/metadata.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/parser.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/range_utils.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/salsa.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/syntax.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/utils.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/vfs.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/yaml_engine.rs +0 -0
- {panache_cli-3.8.0 → panache_cli-3.9.0}/src/yaml_regions.rs +0 -0
|
@@ -273,7 +273,7 @@ dependencies = [
|
|
|
273
273
|
"heck",
|
|
274
274
|
"proc-macro2",
|
|
275
275
|
"quote",
|
|
276
|
-
"syn 3.0.
|
|
276
|
+
"syn 3.0.5",
|
|
277
277
|
]
|
|
278
278
|
|
|
279
279
|
[[package]]
|
|
@@ -335,18 +335,18 @@ dependencies = [
|
|
|
335
335
|
|
|
336
336
|
[[package]]
|
|
337
337
|
name = "crossbeam-channel"
|
|
338
|
-
version = "0.5.
|
|
338
|
+
version = "0.5.17"
|
|
339
339
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
340
|
-
checksum = "
|
|
340
|
+
checksum = "98b0cc327b5bc766e7fda9c9260cc0fa81b43a8e240440422dff70788e3f9ef1"
|
|
341
341
|
dependencies = [
|
|
342
342
|
"crossbeam-utils",
|
|
343
343
|
]
|
|
344
344
|
|
|
345
345
|
[[package]]
|
|
346
346
|
name = "crossbeam-deque"
|
|
347
|
-
version = "0.8.
|
|
347
|
+
version = "0.8.8"
|
|
348
348
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
349
|
-
checksum = "
|
|
349
|
+
checksum = "622f3fc73690be383c7214310406f28a90e6edeadc3cea882f9d71e495b9711a"
|
|
350
350
|
dependencies = [
|
|
351
351
|
"crossbeam-epoch",
|
|
352
352
|
"crossbeam-utils",
|
|
@@ -354,27 +354,27 @@ dependencies = [
|
|
|
354
354
|
|
|
355
355
|
[[package]]
|
|
356
356
|
name = "crossbeam-epoch"
|
|
357
|
-
version = "0.9.
|
|
357
|
+
version = "0.9.21"
|
|
358
358
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
359
|
-
checksum = "
|
|
359
|
+
checksum = "dc74980687109a3b14c72fd458107bf0baa1da1a1a805e178d15501ba9b86d9d"
|
|
360
360
|
dependencies = [
|
|
361
361
|
"crossbeam-utils",
|
|
362
362
|
]
|
|
363
363
|
|
|
364
364
|
[[package]]
|
|
365
365
|
name = "crossbeam-queue"
|
|
366
|
-
version = "0.3.
|
|
366
|
+
version = "0.3.14"
|
|
367
367
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
368
|
-
checksum = "
|
|
368
|
+
checksum = "03e8bd762f7479489c70ed6c768ddca99d7296857de437a68dcb2a94365b3fae"
|
|
369
369
|
dependencies = [
|
|
370
370
|
"crossbeam-utils",
|
|
371
371
|
]
|
|
372
372
|
|
|
373
373
|
[[package]]
|
|
374
374
|
name = "crossbeam-utils"
|
|
375
|
-
version = "0.8.
|
|
375
|
+
version = "0.8.23"
|
|
376
376
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
377
|
-
checksum = "
|
|
377
|
+
checksum = "a31eee39dddec8330830986fcd7625edb5a24ec90ea038215273bbc3adb08ac6"
|
|
378
378
|
|
|
379
379
|
[[package]]
|
|
380
380
|
name = "darling"
|
|
@@ -482,7 +482,7 @@ checksum = "c6232dd377dcc64799954cbd3a9bb882e9cdc1308ccd87b1c098f1fb2eaf82a8"
|
|
|
482
482
|
dependencies = [
|
|
483
483
|
"proc-macro2",
|
|
484
484
|
"quote",
|
|
485
|
-
"syn 3.0.
|
|
485
|
+
"syn 3.0.5",
|
|
486
486
|
]
|
|
487
487
|
|
|
488
488
|
[[package]]
|
|
@@ -878,9 +878,9 @@ dependencies = [
|
|
|
878
878
|
|
|
879
879
|
[[package]]
|
|
880
880
|
name = "indexmap"
|
|
881
|
-
version = "2.14.
|
|
881
|
+
version = "2.14.2"
|
|
882
882
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
883
|
-
checksum = "
|
|
883
|
+
checksum = "cc4e190f5d26ca7051642629da2c52fc03bde85a03197c99408dcd291734c855"
|
|
884
884
|
dependencies = [
|
|
885
885
|
"equivalent",
|
|
886
886
|
"hashbrown 0.17.1",
|
|
@@ -964,9 +964,9 @@ dependencies = [
|
|
|
964
964
|
|
|
965
965
|
[[package]]
|
|
966
966
|
name = "js-sys"
|
|
967
|
-
version = "0.3.
|
|
967
|
+
version = "0.3.105"
|
|
968
968
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
969
|
-
checksum = "
|
|
969
|
+
checksum = "ce57d20d1ea864ce2ac172ab472d409214f4fd359f0b2a2775abdf522e2af99e"
|
|
970
970
|
dependencies = [
|
|
971
971
|
"cfg-if",
|
|
972
972
|
"futures-util",
|
|
@@ -1039,9 +1039,9 @@ checksum = "3eaf3ede3fee6db1a4c2ee091bf8a8b4dccdc6d17f656fb07896ee72867612f2"
|
|
|
1039
1039
|
|
|
1040
1040
|
[[package]]
|
|
1041
1041
|
name = "libredox"
|
|
1042
|
-
version = "0.1.
|
|
1042
|
+
version = "0.1.23"
|
|
1043
1043
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1044
|
-
checksum = "
|
|
1044
|
+
checksum = "8d8f1ea3f21fd3405dcaf6c9b5c1630af9afc422d9073ea39c5f6d6c772e08ed"
|
|
1045
1045
|
dependencies = [
|
|
1046
1046
|
"libc",
|
|
1047
1047
|
]
|
|
@@ -1250,7 +1250,7 @@ checksum = "1a80800c0488c3a21695ea981a54918fbb37abf04f4d0720c453632255e2ff0e"
|
|
|
1250
1250
|
|
|
1251
1251
|
[[package]]
|
|
1252
1252
|
name = "panache"
|
|
1253
|
-
version = "3.
|
|
1253
|
+
version = "3.9.0"
|
|
1254
1254
|
dependencies = [
|
|
1255
1255
|
"annotate-snippets",
|
|
1256
1256
|
"assert_cmd",
|
|
@@ -1295,7 +1295,7 @@ dependencies = [
|
|
|
1295
1295
|
|
|
1296
1296
|
[[package]]
|
|
1297
1297
|
name = "panache-formatter"
|
|
1298
|
-
version = "0.
|
|
1298
|
+
version = "0.24.0"
|
|
1299
1299
|
dependencies = [
|
|
1300
1300
|
"badness-formatter",
|
|
1301
1301
|
"insta",
|
|
@@ -1315,7 +1315,7 @@ dependencies = [
|
|
|
1315
1315
|
|
|
1316
1316
|
[[package]]
|
|
1317
1317
|
name = "panache-parser"
|
|
1318
|
-
version = "0.
|
|
1318
|
+
version = "0.29.0"
|
|
1319
1319
|
dependencies = [
|
|
1320
1320
|
"badness-parser",
|
|
1321
1321
|
"entities",
|
|
@@ -1448,9 +1448,9 @@ checksum = "05c8b63e8d9609db387f0324918f81d68fe27748f084ef092fb35954d0539a85"
|
|
|
1448
1448
|
|
|
1449
1449
|
[[package]]
|
|
1450
1450
|
name = "portable-atomic-util"
|
|
1451
|
-
version = "0.2.
|
|
1451
|
+
version = "0.2.8"
|
|
1452
1452
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1453
|
-
checksum = "
|
|
1453
|
+
checksum = "10ab3eb7f3becc3a1cbc4f2c6f20267996cfc1a6467a873763411b136a122715"
|
|
1454
1454
|
dependencies = [
|
|
1455
1455
|
"portable-atomic",
|
|
1456
1456
|
]
|
|
@@ -1601,7 +1601,7 @@ checksum = "92ecd8964f8453721699a1ed72037b0db49ce2f5a5138486ee89bed6f67cdf3a"
|
|
|
1601
1601
|
dependencies = [
|
|
1602
1602
|
"proc-macro2",
|
|
1603
1603
|
"quote",
|
|
1604
|
-
"syn 3.0.
|
|
1604
|
+
"syn 3.0.5",
|
|
1605
1605
|
]
|
|
1606
1606
|
|
|
1607
1607
|
[[package]]
|
|
@@ -1752,7 +1752,7 @@ checksum = "445be2bfbb2f67cb663225ecd7bc5a25370c0250fca30f9d8cbad9a913650370"
|
|
|
1752
1752
|
dependencies = [
|
|
1753
1753
|
"proc-macro2",
|
|
1754
1754
|
"quote",
|
|
1755
|
-
"syn 3.0.
|
|
1755
|
+
"syn 3.0.5",
|
|
1756
1756
|
]
|
|
1757
1757
|
|
|
1758
1758
|
[[package]]
|
|
@@ -1786,7 +1786,7 @@ dependencies = [
|
|
|
1786
1786
|
"proc-macro2",
|
|
1787
1787
|
"quote",
|
|
1788
1788
|
"serde_derive_internals",
|
|
1789
|
-
"syn 3.0.
|
|
1789
|
+
"syn 3.0.5",
|
|
1790
1790
|
]
|
|
1791
1791
|
|
|
1792
1792
|
[[package]]
|
|
@@ -1822,7 +1822,7 @@ checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348"
|
|
|
1822
1822
|
dependencies = [
|
|
1823
1823
|
"proc-macro2",
|
|
1824
1824
|
"quote",
|
|
1825
|
-
"syn 3.0.
|
|
1825
|
+
"syn 3.0.5",
|
|
1826
1826
|
]
|
|
1827
1827
|
|
|
1828
1828
|
[[package]]
|
|
@@ -1833,7 +1833,7 @@ checksum = "f852137cce035d6a4df67ccce505ff6b3e9fd3a10e3e52b24dc71e650bb1a9bd"
|
|
|
1833
1833
|
dependencies = [
|
|
1834
1834
|
"proc-macro2",
|
|
1835
1835
|
"quote",
|
|
1836
|
-
"syn 3.0.
|
|
1836
|
+
"syn 3.0.5",
|
|
1837
1837
|
]
|
|
1838
1838
|
|
|
1839
1839
|
[[package]]
|
|
@@ -1857,7 +1857,7 @@ checksum = "8d3b1629de253c70a0508c3899572da79ca359fdab27c7920ff00406df418906"
|
|
|
1857
1857
|
dependencies = [
|
|
1858
1858
|
"proc-macro2",
|
|
1859
1859
|
"quote",
|
|
1860
|
-
"syn 3.0.
|
|
1860
|
+
"syn 3.0.5",
|
|
1861
1861
|
]
|
|
1862
1862
|
|
|
1863
1863
|
[[package]]
|
|
@@ -1915,9 +1915,9 @@ checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5"
|
|
|
1915
1915
|
|
|
1916
1916
|
[[package]]
|
|
1917
1917
|
name = "smallvec"
|
|
1918
|
-
version = "1.
|
|
1918
|
+
version = "1.16.0"
|
|
1919
1919
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1920
|
-
checksum = "
|
|
1920
|
+
checksum = "b9be42f50aa861c555654aa3a37f52f4b1074bacf4e48fe0ef7fa584e80f1f0f"
|
|
1921
1921
|
|
|
1922
1922
|
[[package]]
|
|
1923
1923
|
name = "smol_str"
|
|
@@ -1975,9 +1975,9 @@ dependencies = [
|
|
|
1975
1975
|
|
|
1976
1976
|
[[package]]
|
|
1977
1977
|
name = "syn"
|
|
1978
|
-
version = "3.0.
|
|
1978
|
+
version = "3.0.5"
|
|
1979
1979
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1980
|
-
checksum = "
|
|
1980
|
+
checksum = "12df2e0110f65b775f769bb17ef989067a1d931b2eb822bd4346631eeada89f9"
|
|
1981
1981
|
dependencies = [
|
|
1982
1982
|
"proc-macro2",
|
|
1983
1983
|
"quote",
|
|
@@ -2043,7 +2043,7 @@ checksum = "bc04cd3e1236dd4a98afca4569f2deb3f120e5422a4023be2cb683f8486292af"
|
|
|
2043
2043
|
dependencies = [
|
|
2044
2044
|
"proc-macro2",
|
|
2045
2045
|
"quote",
|
|
2046
|
-
"syn 3.0.
|
|
2046
|
+
"syn 3.0.5",
|
|
2047
2047
|
]
|
|
2048
2048
|
|
|
2049
2049
|
[[package]]
|
|
@@ -2064,9 +2064,9 @@ dependencies = [
|
|
|
2064
2064
|
|
|
2065
2065
|
[[package]]
|
|
2066
2066
|
name = "toml"
|
|
2067
|
-
version = "1.1.
|
|
2067
|
+
version = "1.1.5+spec-1.1.0"
|
|
2068
2068
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2069
|
-
checksum = "
|
|
2069
|
+
checksum = "12c0ba9680044b4ce98d391a62094047eada0d64860b80166c39f4a6b5640785"
|
|
2070
2070
|
dependencies = [
|
|
2071
2071
|
"indexmap",
|
|
2072
2072
|
"serde_core",
|
|
@@ -2231,9 +2231,9 @@ dependencies = [
|
|
|
2231
2231
|
|
|
2232
2232
|
[[package]]
|
|
2233
2233
|
name = "wasm-bindgen"
|
|
2234
|
-
version = "0.2.
|
|
2234
|
+
version = "0.2.128"
|
|
2235
2235
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2236
|
-
checksum = "
|
|
2236
|
+
checksum = "aecb87a33d3b0c5e3b7aa46336eaf486cffafbd281b195e4c8b80d50df2351bf"
|
|
2237
2237
|
dependencies = [
|
|
2238
2238
|
"cfg-if",
|
|
2239
2239
|
"once_cell",
|
|
@@ -2244,9 +2244,9 @@ dependencies = [
|
|
|
2244
2244
|
|
|
2245
2245
|
[[package]]
|
|
2246
2246
|
name = "wasm-bindgen-macro"
|
|
2247
|
-
version = "0.2.
|
|
2247
|
+
version = "0.2.128"
|
|
2248
2248
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2249
|
-
checksum = "
|
|
2249
|
+
checksum = "a690d511e3c1a8b3a55e33511e3c2c00c78415cd23650f32b808627f5696b9ed"
|
|
2250
2250
|
dependencies = [
|
|
2251
2251
|
"quote",
|
|
2252
2252
|
"wasm-bindgen-macro-support",
|
|
@@ -2254,22 +2254,22 @@ dependencies = [
|
|
|
2254
2254
|
|
|
2255
2255
|
[[package]]
|
|
2256
2256
|
name = "wasm-bindgen-macro-support"
|
|
2257
|
-
version = "0.2.
|
|
2257
|
+
version = "0.2.128"
|
|
2258
2258
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2259
|
-
checksum = "
|
|
2259
|
+
checksum = "411e4887f0071ef2d2164a9d5fdf2d20efbef78fccd3a78b0c10a1dc5295e48a"
|
|
2260
2260
|
dependencies = [
|
|
2261
2261
|
"bumpalo",
|
|
2262
2262
|
"proc-macro2",
|
|
2263
2263
|
"quote",
|
|
2264
|
-
"syn
|
|
2264
|
+
"syn 3.0.5",
|
|
2265
2265
|
"wasm-bindgen-shared",
|
|
2266
2266
|
]
|
|
2267
2267
|
|
|
2268
2268
|
[[package]]
|
|
2269
2269
|
name = "wasm-bindgen-shared"
|
|
2270
|
-
version = "0.2.
|
|
2270
|
+
version = "0.2.128"
|
|
2271
2271
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2272
|
-
checksum = "
|
|
2272
|
+
checksum = "81941cd78d0c92026c33e5e01312845a4cb1e9af3407f9134b100dd03144103e"
|
|
2273
2273
|
dependencies = [
|
|
2274
2274
|
"unicode-ident",
|
|
2275
2275
|
]
|
|
@@ -2463,7 +2463,7 @@ checksum = "34df6fc39dbd26ddc9c10e6a2984476e13acce22e64e4487636ef494369225da"
|
|
|
2463
2463
|
dependencies = [
|
|
2464
2464
|
"proc-macro2",
|
|
2465
2465
|
"quote",
|
|
2466
|
-
"syn 3.0.
|
|
2466
|
+
"syn 3.0.5",
|
|
2467
2467
|
]
|
|
2468
2468
|
|
|
2469
2469
|
[[package]]
|
|
@@ -9,7 +9,7 @@ authors = ["Johan Larsson <johan@jolars.co>"]
|
|
|
9
9
|
|
|
10
10
|
[package]
|
|
11
11
|
name = "panache"
|
|
12
|
-
version = "3.
|
|
12
|
+
version = "3.9.0"
|
|
13
13
|
edition.workspace = true
|
|
14
14
|
rust-version.workspace = true
|
|
15
15
|
# `distill_quarto_schema` is a dev-only vendoring bin (src/bin/); keep bare
|
|
@@ -51,11 +51,11 @@ path = "src/main.rs"
|
|
|
51
51
|
required-features = ["cli"]
|
|
52
52
|
|
|
53
53
|
[dependencies]
|
|
54
|
-
panache-formatter = { path = "crates/panache-formatter", version = "0.
|
|
54
|
+
panache-formatter = { path = "crates/panache-formatter", version = "0.24.0", features = [
|
|
55
55
|
"serde",
|
|
56
56
|
"schema",
|
|
57
57
|
] }
|
|
58
|
-
panache-parser = { path = "crates/panache-parser", version = "0.
|
|
58
|
+
panache-parser = { path = "crates/panache-parser", version = "0.29.0", features = [
|
|
59
59
|
"serde",
|
|
60
60
|
"schema",
|
|
61
61
|
] }
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.24.0](https://github.com/jolars/panache/compare/panache-formatter-v0.23.0...panache-formatter-v0.24.0) (2026-09-06)
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
- **parser:** add consumer document API ([`23904a5`](https://github.com/jolars/panache/commit/23904a5b46d11029a096b72396165197c483867f))
|
|
7
|
+
|
|
8
|
+
### Dependencies
|
|
9
|
+
- updated crates/panache-parser to v0.29.0
|
|
10
|
+
|
|
3
11
|
## [0.23.0](https://github.com/jolars/panache/compare/panache-formatter-v0.22.0...panache-formatter-v0.23.0) (2026-08-31)
|
|
4
12
|
|
|
5
13
|
### Features
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "panache-formatter"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.24.0"
|
|
4
4
|
edition.workspace = true
|
|
5
5
|
rust-version.workspace = true
|
|
6
6
|
include = [
|
|
@@ -19,7 +19,7 @@ keywords = ["quarto", "pandoc", "markdown", "formatter"]
|
|
|
19
19
|
categories = ["text-processing"]
|
|
20
20
|
|
|
21
21
|
[dependencies]
|
|
22
|
-
panache-parser = { path = "../panache-parser", version = "0.
|
|
22
|
+
panache-parser = { path = "../panache-parser", version = "0.29.0" }
|
|
23
23
|
log = { version = "0.4.31", features = ["release_max_level_debug"] }
|
|
24
24
|
rowan = "0.17.0"
|
|
25
25
|
serde = { version = "1.0.228", features = ["derive"], optional = true }
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.29.0](https://github.com/jolars/panache/compare/panache-parser-v0.28.1...panache-parser-v0.29.0) (2026-09-06)
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
- **parser:** add consumer document API ([`23904a5`](https://github.com/jolars/panache/commit/23904a5b46d11029a096b72396165197c483867f))
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
- **parser:** handle YAML block scalar CRLF ([`9e7bf53`](https://github.com/jolars/panache/commit/9e7bf53d684bc84f1467fc78953414765af4cd68)), fixes [#527](https://github.com/jolars/panache/issues/527)
|
|
10
|
+
|
|
3
11
|
## [0.28.1](https://github.com/jolars/panache/compare/panache-parser-v0.28.0...panache-parser-v0.28.1) (2026-08-31)
|
|
4
12
|
|
|
5
13
|
### Bug Fixes
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# panache-parser
|
|
2
|
+
|
|
3
|
+
Lossless CST parser and typed syntax wrappers for Pandoc Markdown, Quarto, and R
|
|
4
|
+
Markdown.
|
|
5
|
+
|
|
6
|
+
## Status
|
|
7
|
+
|
|
8
|
+
This crate is extracted from the Panache project and is evolving alongside it.
|
|
9
|
+
The API is still early and may change between releases.
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
```rust
|
|
14
|
+
use panache_parser::syntax::BlockNode;
|
|
15
|
+
use panache_parser::{Flavor, ParserOptions, parse_document};
|
|
16
|
+
|
|
17
|
+
let parsed = parse_document(
|
|
18
|
+
"# Heading\n\nParagraph text.",
|
|
19
|
+
Some(ParserOptions::for_flavor(Flavor::Gfm)),
|
|
20
|
+
);
|
|
21
|
+
|
|
22
|
+
for block in parsed.document().block_nodes() {
|
|
23
|
+
match block {
|
|
24
|
+
BlockNode::Heading(heading) => println!("level {}", heading.level()),
|
|
25
|
+
BlockNode::Unknown(node) => println!("unsupported: {}", node.syntax_name()),
|
|
26
|
+
_ => {}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
`parse_document` is the consumer-oriented entry point. It returns a typed
|
|
32
|
+
document root together with embedded-language errors. `BlockNode` and
|
|
33
|
+
`InlineNode` classify semantic children, retain trivia explicitly, and expose
|
|
34
|
+
unknown syntax with its original kind, source, and byte range. Typed wrappers
|
|
35
|
+
provide attributes, link destinations, table alignment, GFM alerts, Quarto
|
|
36
|
+
callouts, embedded YAML, and executable-cell source and option provenance.
|
|
37
|
+
|
|
38
|
+
The CST remains lossless, and all ranges use zero-based, half-open byte offsets
|
|
39
|
+
into the original source. Consumers should translate these views into their own
|
|
40
|
+
document model. The `to_pandoc_ast` and `to_pandoc_json` functions are
|
|
41
|
+
Pandoc-conformance projectors, not a stable application IR or rendering
|
|
42
|
+
contract.
|
|
43
|
+
|
|
44
|
+
## Documentation
|
|
45
|
+
|
|
46
|
+
- API docs: <https://docs.rs/panache-parser>
|
|
47
|
+
- Project: <https://github.com/jolars/panache>
|
|
@@ -17,6 +17,8 @@
|
|
|
17
17
|
//! # Main entry points
|
|
18
18
|
//!
|
|
19
19
|
//! - [`parse`]: Parse input text into a [`SyntaxNode`].
|
|
20
|
+
//! - [`parse_document`]: Parse into a typed [`syntax::Document`] while retaining
|
|
21
|
+
//! embedded-language errors.
|
|
20
22
|
//! - [`to_pandoc_ast`]: Project a [`SyntaxNode`] into pandoc-native AST text.
|
|
21
23
|
//! - [`ParserOptions`]: Parser configuration and extension toggles.
|
|
22
24
|
//! - [`syntax`]: Typed syntax wrappers and syntax kinds.
|
|
@@ -44,7 +46,11 @@ pub use options::ParserOptions;
|
|
|
44
46
|
pub use pandoc_ast::{
|
|
45
47
|
to_pandoc_ast, to_pandoc_ast_with_options, to_pandoc_json, to_pandoc_json_with_options,
|
|
46
48
|
};
|
|
47
|
-
pub use parser::
|
|
49
|
+
pub use parser::ParsedDocument;
|
|
50
|
+
pub use parser::inlines::refdef_map::{
|
|
51
|
+
RefdefMap, collect_refdef_labels, normalize_label as normalize_reference_label,
|
|
52
|
+
};
|
|
48
53
|
pub use parser::parse;
|
|
54
|
+
pub use parser::parse_document;
|
|
49
55
|
pub use parser::parse_with_refdefs;
|
|
50
56
|
pub use syntax::SyntaxNode;
|
|
@@ -1027,6 +1027,13 @@ pub struct ParserOptions {
|
|
|
1027
1027
|
pub extensions: Extensions,
|
|
1028
1028
|
/// Compatibility target for ambiguous Pandoc behavior.
|
|
1029
1029
|
pub pandoc_compat: PandocCompat,
|
|
1030
|
+
/// Preserve unresolved reference-shaped bracket groups as typed CST nodes.
|
|
1031
|
+
///
|
|
1032
|
+
/// CommonMark normally treats an unresolved reference as literal text. This
|
|
1033
|
+
/// opt-in retains that source shape for downstream semantic extensions while
|
|
1034
|
+
/// leaving ordinary CommonMark and GFM parsing unchanged by default.
|
|
1035
|
+
#[cfg_attr(feature = "serde", serde(default))]
|
|
1036
|
+
pub preserve_unresolved_references: bool,
|
|
1030
1037
|
/// Additional cross-reference key prefixes (beyond the Quarto built-ins
|
|
1031
1038
|
/// recognized by [`crate::parser::inlines::citations::is_quarto_crossref_key`])
|
|
1032
1039
|
/// that should parse as cross-references rather than citations. Populated
|
|
@@ -1057,6 +1064,7 @@ impl Default for ParserOptions {
|
|
|
1057
1064
|
dialect: Dialect::for_flavor(flavor),
|
|
1058
1065
|
extensions: Extensions::for_flavor(flavor),
|
|
1059
1066
|
pandoc_compat: PandocCompat::default(),
|
|
1067
|
+
preserve_unresolved_references: false,
|
|
1060
1068
|
crossref_prefixes: Vec::new(),
|
|
1061
1069
|
refdef_labels: None,
|
|
1062
1070
|
}
|
|
@@ -1064,6 +1072,16 @@ impl Default for ParserOptions {
|
|
|
1064
1072
|
}
|
|
1065
1073
|
|
|
1066
1074
|
impl ParserOptions {
|
|
1075
|
+
/// Construct internally consistent parser options for a user-facing flavor.
|
|
1076
|
+
pub fn for_flavor(flavor: Flavor) -> Self {
|
|
1077
|
+
Self {
|
|
1078
|
+
flavor,
|
|
1079
|
+
dialect: Dialect::for_flavor(flavor),
|
|
1080
|
+
extensions: Extensions::for_flavor(flavor),
|
|
1081
|
+
..Self::default()
|
|
1082
|
+
}
|
|
1083
|
+
}
|
|
1084
|
+
|
|
1067
1085
|
pub fn effective_pandoc_compat(&self) -> PandocCompat {
|
|
1068
1086
|
self.pandoc_compat.effective()
|
|
1069
1087
|
}
|
|
@@ -21,8 +21,8 @@ use std::collections::{HashMap, HashSet};
|
|
|
21
21
|
use crate::SyntaxNode;
|
|
22
22
|
use crate::parser::utils::attributes::decode_html_attr_entities;
|
|
23
23
|
use crate::syntax::{
|
|
24
|
-
SyntaxKind, SyntaxToken, code_span_payload, separator_column_segments,
|
|
25
|
-
text_without_line_prefixes,
|
|
24
|
+
AstNode, LinkDest, SyntaxKind, SyntaxToken, code_span_payload, separator_column_segments,
|
|
25
|
+
separator_marker_tokens, text_without_line_prefixes,
|
|
26
26
|
};
|
|
27
27
|
use rowan::NodeOrToken;
|
|
28
28
|
use serde_json::{Value, json};
|
|
@@ -4369,37 +4369,11 @@ fn inline_footnote_inline(node: &SyntaxNode) -> Inline {
|
|
|
4369
4369
|
}
|
|
4370
4370
|
|
|
4371
4371
|
fn parse_link_dest(node: &SyntaxNode) -> (String, String) {
|
|
4372
|
-
let
|
|
4373
|
-
|
|
4374
|
-
|
|
4375
|
-
|
|
4376
|
-
|
|
4377
|
-
let url = &rest[..end];
|
|
4378
|
-
let after = rest[end + 1..].trim();
|
|
4379
|
-
let title = parse_dest_title(after);
|
|
4380
|
-
return (escape_link_dest(url), title);
|
|
4381
|
-
}
|
|
4382
|
-
let bytes = trimmed.as_bytes();
|
|
4383
|
-
let mut url_end = trimmed.len();
|
|
4384
|
-
let mut i = 0;
|
|
4385
|
-
while i < bytes.len() {
|
|
4386
|
-
if matches!(bytes[i], b' ' | b'\t' | b'\n') {
|
|
4387
|
-
let mut j = i;
|
|
4388
|
-
while j < bytes.len() && matches!(bytes[j], b' ' | b'\t' | b'\n') {
|
|
4389
|
-
j += 1;
|
|
4390
|
-
}
|
|
4391
|
-
if j < bytes.len() && matches!(bytes[j], b'"' | b'\'' | b'(') {
|
|
4392
|
-
url_end = i;
|
|
4393
|
-
break;
|
|
4394
|
-
}
|
|
4395
|
-
i = j;
|
|
4396
|
-
} else {
|
|
4397
|
-
i += 1;
|
|
4398
|
-
}
|
|
4399
|
-
}
|
|
4400
|
-
let url_raw = &trimmed[..url_end];
|
|
4401
|
-
let title = parse_dest_title(trimmed[url_end..].trim());
|
|
4402
|
-
(escape_link_dest(url_raw), title)
|
|
4372
|
+
let destination = LinkDest::cast(node.clone()).expect("checked link destination");
|
|
4373
|
+
(
|
|
4374
|
+
escape_link_dest(&destination.url_content()),
|
|
4375
|
+
destination.title().unwrap_or_default(),
|
|
4376
|
+
)
|
|
4403
4377
|
}
|
|
4404
4378
|
|
|
4405
4379
|
/// Mirrors pandoc's `escapeURI`: percent-escape ASCII whitespace and the
|
|
@@ -39,10 +39,10 @@ use super::inline_footnotes::{
|
|
|
39
39
|
use super::inline_html::{emit_inline_html, try_parse_inline_html};
|
|
40
40
|
use super::latex::{parse_latex_command, try_parse_latex_command, try_parse_raw_math_environment};
|
|
41
41
|
use super::links::{
|
|
42
|
-
LinkScanContext, emit_autolink, emit_bare_uri_link,
|
|
43
|
-
emit_reference_image, emit_reference_link, emit_unresolved_reference,
|
|
44
|
-
|
|
45
|
-
try_parse_reference_link,
|
|
42
|
+
LinkScanContext, emit_autolink, emit_bare_uri_link, emit_inline_image_parts,
|
|
43
|
+
emit_inline_link_parts, emit_reference_image, emit_reference_link, emit_unresolved_reference,
|
|
44
|
+
try_parse_autolink, try_parse_bare_uri, try_parse_inline_image_parts,
|
|
45
|
+
try_parse_inline_link_parts, try_parse_reference_image, try_parse_reference_link,
|
|
46
46
|
};
|
|
47
47
|
use super::mark::{emit_mark, try_parse_mark};
|
|
48
48
|
use super::math::{
|
|
@@ -523,7 +523,7 @@ fn parse_inline_range_impl(
|
|
|
523
523
|
if is_image {
|
|
524
524
|
if config.extensions.inline_images
|
|
525
525
|
&& let Some((len, alt_text, dest, attributes)) =
|
|
526
|
-
|
|
526
|
+
try_parse_inline_image_parts(&text[pos..], ctx)
|
|
527
527
|
&& pos + len >= dispo_suffix_end
|
|
528
528
|
&& pos + len <= end
|
|
529
529
|
{
|
|
@@ -534,7 +534,7 @@ fn parse_inline_range_impl(
|
|
|
534
534
|
"IR: dispatcher overrode UnresolvedReference with inline image at pos {}",
|
|
535
535
|
pos
|
|
536
536
|
);
|
|
537
|
-
|
|
537
|
+
emit_inline_image_parts(
|
|
538
538
|
builder,
|
|
539
539
|
&text[pos..pos + len],
|
|
540
540
|
alt_text,
|
|
@@ -549,7 +549,7 @@ fn parse_inline_range_impl(
|
|
|
549
549
|
}
|
|
550
550
|
} else if config.extensions.inline_links
|
|
551
551
|
&& let Some((len, link_text, dest, attributes)) =
|
|
552
|
-
|
|
552
|
+
try_parse_inline_link_parts(&text[pos..], is_commonmark, ctx)
|
|
553
553
|
&& pos + len >= dispo_suffix_end
|
|
554
554
|
&& pos + len <= end
|
|
555
555
|
{
|
|
@@ -560,7 +560,7 @@ fn parse_inline_range_impl(
|
|
|
560
560
|
"IR: dispatcher overrode UnresolvedReference with inline link at pos {}",
|
|
561
561
|
pos
|
|
562
562
|
);
|
|
563
|
-
|
|
563
|
+
emit_inline_link_parts(
|
|
564
564
|
builder,
|
|
565
565
|
&text[pos..pos + len],
|
|
566
566
|
link_text,
|
|
@@ -619,7 +619,7 @@ fn parse_inline_range_impl(
|
|
|
619
619
|
if is_image {
|
|
620
620
|
if config.extensions.inline_images
|
|
621
621
|
&& let Some((len, alt_text, dest, attributes)) =
|
|
622
|
-
|
|
622
|
+
try_parse_inline_image_parts(&text[pos..], ctx)
|
|
623
623
|
&& pos + len >= dispo_suffix_end
|
|
624
624
|
&& pos + len <= end
|
|
625
625
|
{
|
|
@@ -627,7 +627,7 @@ fn parse_inline_range_impl(
|
|
|
627
627
|
builder.token(SyntaxKind::TEXT.into(), &text[text_start..pos]);
|
|
628
628
|
}
|
|
629
629
|
log::trace!("IR: matched inline image at pos {}", pos);
|
|
630
|
-
|
|
630
|
+
emit_inline_image_parts(
|
|
631
631
|
builder,
|
|
632
632
|
&text[pos..pos + len],
|
|
633
633
|
alt_text,
|
|
@@ -670,7 +670,7 @@ fn parse_inline_range_impl(
|
|
|
670
670
|
} else {
|
|
671
671
|
if config.extensions.inline_links
|
|
672
672
|
&& let Some((len, link_text, dest, attributes)) =
|
|
673
|
-
|
|
673
|
+
try_parse_inline_link_parts(&text[pos..], is_commonmark, ctx)
|
|
674
674
|
&& pos + len >= dispo_suffix_end
|
|
675
675
|
&& pos + len <= end
|
|
676
676
|
{
|
|
@@ -678,7 +678,7 @@ fn parse_inline_range_impl(
|
|
|
678
678
|
builder.token(SyntaxKind::TEXT.into(), &text[text_start..pos]);
|
|
679
679
|
}
|
|
680
680
|
log::trace!("IR: matched inline link at pos {}", pos);
|
|
681
|
-
|
|
681
|
+
emit_inline_link_parts(
|
|
682
682
|
builder,
|
|
683
683
|
&text[pos..pos + len],
|
|
684
684
|
link_text,
|