panache-cli 3.10.0__tar.gz → 3.11.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.10.0 → panache_cli-3.11.0}/Cargo.lock +40 -38
- {panache_cli-3.10.0 → panache_cli-3.11.0}/Cargo.toml +3 -3
- {panache_cli-3.10.0 → panache_cli-3.11.0}/PKG-INFO +1 -2
- {panache_cli-3.10.0 → panache_cli-3.11.0}/README.md +0 -1
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-formatter/CHANGELOG.md +9 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-formatter/Cargo.toml +2 -2
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-formatter/src/formatter/inline_layout.rs +1 -1
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-formatter/src/formatter/raw.rs +5 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/CHANGELOG.md +6 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/Cargo.toml +2 -1
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/blocks/html_blocks.rs +152 -32
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/utils/attributes.rs +81 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/cli.rs +2 -2
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/config.rs +26 -12
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/salsa.rs +16 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/LICENSE +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/assets/quarto-schema/schema.json +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/build.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-formatter/README.md +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-formatter/src/config.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-formatter/src/directives.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-formatter/src/formatter/blockquotes.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-formatter/src/formatter/blocks.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-formatter/src/formatter/code_blocks.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-formatter/src/formatter/containers.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-formatter/src/formatter/core.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-formatter/src/formatter/document.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-formatter/src/formatter/fenced_divs.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-formatter/src/formatter/hashpipe.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-formatter/src/formatter/headings.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-formatter/src/formatter/indent_utils.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-formatter/src/formatter/inline.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-formatter/src/formatter/lists.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-formatter/src/formatter/math/STYLE.md +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-formatter/src/formatter/math/ir.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-formatter/src/formatter/math/lower.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-formatter/src/formatter/math/printer.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-formatter/src/formatter/math/render.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-formatter/src/formatter/math.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-formatter/src/formatter/metadata.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-formatter/src/formatter/paragraphs.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-formatter/src/formatter/preserve.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-formatter/src/formatter/sentence_wrap.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-formatter/src/formatter/shortcodes.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-formatter/src/formatter/smart.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-formatter/src/formatter/tables.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-formatter/src/formatter/utils.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-formatter/src/formatter/yaml/STYLE.md +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-formatter/src/formatter/yaml/block_map.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-formatter/src/formatter/yaml/block_sequence.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-formatter/src/formatter/yaml/document.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-formatter/src/formatter/yaml/flow.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-formatter/src/formatter/yaml/options.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-formatter/src/formatter/yaml/scalar.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-formatter/src/formatter/yaml.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-formatter/src/formatter.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-formatter/src/lib.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-formatter/src/parser.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-formatter/src/syntax.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-formatter/src/utils.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-formatter/src/yaml_engine.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/README.md +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/build.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/data/math_symbols.json +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/data/unicode-math.LICENSE +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/data/unicode-math.NOTICE +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/grid_layout.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/lib.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/options.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/pandoc_ast.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/block_dispatcher.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/blocks/admonitions.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/blocks/blockquotes.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/blocks/code_blocks.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/blocks/container_prefix.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/blocks/definition_lists.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/blocks/fenced_divs.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/blocks/figures.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/blocks/headings.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/blocks/horizontal_rules.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/blocks/indented_code.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/blocks/latex_envs.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/blocks/line_blocks.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/blocks/lists.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/blocks/metadata.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/blocks/myst_directives.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/blocks/myst_targets.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/blocks/paragraphs.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/blocks/raw_blocks.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/blocks/reference_links.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/blocks/tables.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/blocks/tests/blanklines.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/blocks/tests/blockquotes.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/blocks/tests/code_blocks.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/blocks/tests/content_containers.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/blocks/tests/definition_lists.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/blocks/tests/figures.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/blocks/tests/footnote_marker_line.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/blocks/tests/fragment_context.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/blocks/tests/frame_pinning.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/blocks/tests/headings.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/blocks/tests/helpers.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/blocks/tests/lists.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/blocks/tests/losslessness.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/blocks/tests/metadata_guards.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/blocks/tests/tables.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/blocks.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/core/blockquotes.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/core/definition_lists.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/core/html_interruptions.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/core/list_items.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/core.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/diagnostics.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/inlines/bookdown.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/inlines/bracketed_spans.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/inlines/citations.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/inlines/code_spans.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/inlines/core.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/inlines/emoji.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/inlines/escapes.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/inlines/hard_breaks.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/inlines/inline_executable.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/inlines/inline_footnotes.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/inlines/inline_html.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/inlines/inline_ir.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/inlines/latex.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/inlines/links.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/inlines/mark.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/inlines/math.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/inlines/myst_roles.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/inlines/myst_substitutions.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/inlines/native_spans.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/inlines/raw_inline.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/inlines/refdef_map.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/inlines/shortcodes.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/inlines/sink.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/inlines/strikeout.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/inlines/subscript.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/inlines/superscript.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/inlines/svelte.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/inlines/tests.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/inlines/uri-schemes.csv +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/inlines/wikilinks.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/inlines.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/math.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/reparse.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/utils/chunk_options.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/utils/container_stack.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/utils/continuation.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/utils/helpers.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/utils/inline_emission.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/utils/list_item_buffer.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/utils/marker_utils.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/utils/text_buffer.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/utils/tree_copy.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/utils/yaml_regions.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/utils.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/verify.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/yaml/cooking.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/yaml/events.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/yaml/model.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/yaml/parser.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/yaml/profile.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/yaml/scanner.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/yaml/validator.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/yaml.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/range_utils.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/semantic/math.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/semantic.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/syntax/alerts.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/syntax/ast.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/syntax/attributes.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/syntax/block_quotes.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/syntax/blocks.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/syntax/chunk_options.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/syntax/citations.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/syntax/code_blocks.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/syntax/code_span.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/syntax/consumer.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/syntax/crossrefs.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/syntax/definitions.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/syntax/fenced_divs.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/syntax/headings.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/syntax/inlines.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/syntax/kind.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/syntax/links.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/syntax/lists.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/syntax/math.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/syntax/myst.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/syntax/raw_tex.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/syntax/references.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/syntax/shortcodes.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/syntax/tables.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/syntax/yaml.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/syntax/yaml_ast.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/syntax.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/pyproject.toml +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/bib/bibtex.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/bib/csl_json.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/bib/csl_yaml.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/bib/index.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/bib/preview.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/bib/ris.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/bib.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/bin/distill_quarto_schema.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/cache.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/config/formatter_presets.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/config/types/schema_helpers.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/config/types.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/diagnostic_renderer.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/directives.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/external_formatters_common.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/external_formatters_sync.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/external_tools_common.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/formatter.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/includes.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/incremental.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/io_context.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/lib.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter/code_block_collector.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter/diagnostics.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter/external_linters/clippy.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter/external_linters/eslint.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter/external_linters/jarl.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter/external_linters/jolars.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter/external_linters/ruff.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter/external_linters/shellcheck.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter/external_linters/staticcheck.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter/external_linters.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter/external_linters_sync.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter/fuzzy.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter/index.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter/metadata_diagnostics.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter/offsets.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter/project_index.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter/quarto_schema/distill.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter/quarto_schema/interp.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter/quarto_schema/model.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter/quarto_schema/report.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter/quarto_schema/value.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter/quarto_schema.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter/rules/adjacent_footnote_refs.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter/rules/blank_line_in_display_math.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter/rules/blank_line_in_inline_footnote.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter/rules/chunk_label_spaces.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter/rules/citation_keys.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter/rules/citation_nonbreaking_space.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter/rules/consumer_divergence.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter/rules/crossref_as_link_target.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter/rules/duplicate_references.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter/rules/duplicate_yaml_anchor.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter/rules/emoji_aliases.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter/rules/empty_list_item.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter/rules/empty_values.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter/rules/figure_crossref_captions.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter/rules/footnote_after_image.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter/rules/footnote_ref_in_footnote_def.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter/rules/footnote_swallowed_by_bracket.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter/rules/heading_eaten_attrs.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter/rules/heading_hierarchy.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter/rules/heading_strip_comments_residue.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter/rules/html_entities.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter/rules/inline_math_line_break.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter/rules/link_text_is_url.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter/rules/math_content.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter/rules/missing_chunk_labels.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter/rules/quarto_schema.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter/rules/reversed_footnote_marker.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter/rules/stray_fenced_div_markers.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter/rules/swallowed_list_marker.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter/rules/table_column_count.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter/rules/undefined_anchor.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter/rules/undefined_references.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter/rules/unspaced_citation.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter/rules/unspaced_list_marker.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter/rules/unsupported_metadata_key.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter/rules/unused_definitions.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter/rules/unused_yaml_anchor.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter/rules.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter/runner.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter/yaml_anchors.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter/yaml_resolve.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/linter.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/lsp/config.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/lsp/context.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/lsp/conversions.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/lsp/dispatch.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/lsp/documents.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/lsp/global_state.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/lsp/handlers/code_actions.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/lsp/handlers/completion.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/lsp/handlers/configuration.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/lsp/handlers/diagnostics.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/lsp/handlers/document_highlight.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/lsp/handlers/document_links.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/lsp/handlers/document_symbols.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/lsp/handlers/file_operations.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/lsp/handlers/file_rename.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/lsp/handlers/file_watcher.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/lsp/handlers/folding_ranges.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/lsp/handlers/footnote_conversion.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/lsp/handlers/formatting.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/lsp/handlers/goto_definition.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/lsp/handlers/heading_link_conversion.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/lsp/handlers/hover.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/lsp/handlers/link_conversion.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/lsp/handlers/linked_editing_range.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/lsp/handlers/list_conversion.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/lsp/handlers/prepare_rename.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/lsp/handlers/references.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/lsp/handlers/rename.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/lsp/handlers/semantic_tokens.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/lsp/handlers/shortcode_args.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/lsp/handlers/workspace_folders.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/lsp/handlers/workspace_symbols.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/lsp/handlers.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/lsp/helpers.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/lsp/line_index.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/lsp/navigation.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/lsp/symbols.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/lsp/task_pool.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/lsp/testing.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/lsp/uri_ext.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/lsp.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/main.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/metadata/bibliography.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/metadata/citations.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/metadata/project.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/metadata/references.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/metadata/yaml.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/metadata.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/parser.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/range_utils.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/syntax.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/utils.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/vfs.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/yaml_engine.rs +0 -0
- {panache_cli-3.10.0 → panache_cli-3.11.0}/src/yaml_regions.rs +0 -0
|
@@ -235,9 +235,9 @@ checksum = "f079e83a288787bcd14a6aea84cee5c87a67c5a3e660c30f557a3d24761b3527"
|
|
|
235
235
|
|
|
236
236
|
[[package]]
|
|
237
237
|
name = "clap"
|
|
238
|
-
version = "4.6.
|
|
238
|
+
version = "4.6.7"
|
|
239
239
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
240
|
-
checksum = "
|
|
240
|
+
checksum = "aa8876b300ab35ba921adea3dfd70157a46249b33f95c9084ae5709785478946"
|
|
241
241
|
dependencies = [
|
|
242
242
|
"clap_builder",
|
|
243
243
|
"clap_derive",
|
|
@@ -245,9 +245,9 @@ dependencies = [
|
|
|
245
245
|
|
|
246
246
|
[[package]]
|
|
247
247
|
name = "clap_builder"
|
|
248
|
-
version = "4.6.
|
|
248
|
+
version = "4.6.7"
|
|
249
249
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
250
|
-
checksum = "
|
|
250
|
+
checksum = "ec0797fb7aeb1406c84efac526901f7ec3ead2124f946b494e72879d4b54704d"
|
|
251
251
|
dependencies = [
|
|
252
252
|
"anstream",
|
|
253
253
|
"anstyle",
|
|
@@ -257,18 +257,18 @@ dependencies = [
|
|
|
257
257
|
|
|
258
258
|
[[package]]
|
|
259
259
|
name = "clap_complete"
|
|
260
|
-
version = "4.6.
|
|
260
|
+
version = "4.6.11"
|
|
261
261
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
262
|
-
checksum = "
|
|
262
|
+
checksum = "037e2a1a92236d0aff7e845093f64661d6df4c02c9fcc61a60e9e1d736fa392f"
|
|
263
263
|
dependencies = [
|
|
264
264
|
"clap",
|
|
265
265
|
]
|
|
266
266
|
|
|
267
267
|
[[package]]
|
|
268
268
|
name = "clap_derive"
|
|
269
|
-
version = "4.6.
|
|
269
|
+
version = "4.6.7"
|
|
270
270
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
271
|
-
checksum = "
|
|
271
|
+
checksum = "f9c751b79415d4e559e3d1fcf128e09e720eb673a06d26cf6f392d37d75b66e0"
|
|
272
272
|
dependencies = [
|
|
273
273
|
"heck",
|
|
274
274
|
"proc-macro2",
|
|
@@ -278,9 +278,9 @@ dependencies = [
|
|
|
278
278
|
|
|
279
279
|
[[package]]
|
|
280
280
|
name = "clap_lex"
|
|
281
|
-
version = "1.1.
|
|
281
|
+
version = "1.1.1"
|
|
282
282
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
283
|
-
checksum = "
|
|
283
|
+
checksum = "1c133bc6a41be0d194c306b5506d15e6feeea7b1d6604bd3f8310dfb2ca96486"
|
|
284
284
|
|
|
285
285
|
[[package]]
|
|
286
286
|
name = "clap_mangen"
|
|
@@ -326,9 +326,9 @@ checksum = "7704b5fdd17b18ae31c4c1da5a2e0305a2bf17b5249300a9ee9ed7b72114c636"
|
|
|
326
326
|
|
|
327
327
|
[[package]]
|
|
328
328
|
name = "crc32fast"
|
|
329
|
-
version = "1.5.
|
|
329
|
+
version = "1.5.2"
|
|
330
330
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
331
|
-
checksum = "
|
|
331
|
+
checksum = "01a7799fd6b852db0e61728dde9a204c423b44d689dbd432522543614b490e78"
|
|
332
332
|
dependencies = [
|
|
333
333
|
"cfg-if",
|
|
334
334
|
]
|
|
@@ -568,9 +568,9 @@ dependencies = [
|
|
|
568
568
|
|
|
569
569
|
[[package]]
|
|
570
570
|
name = "fancy-regex"
|
|
571
|
-
version = "0.19.
|
|
571
|
+
version = "0.19.2"
|
|
572
572
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
573
|
-
checksum = "
|
|
573
|
+
checksum = "d301f5bf187b3c295fce6468d3875037a0bccc5f6b151c63cac2f85babf21912"
|
|
574
574
|
dependencies = [
|
|
575
575
|
"bit-set",
|
|
576
576
|
"regex-automata",
|
|
@@ -928,9 +928,9 @@ checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682"
|
|
|
928
928
|
|
|
929
929
|
[[package]]
|
|
930
930
|
name = "jiff"
|
|
931
|
-
version = "0.2.
|
|
931
|
+
version = "0.2.37"
|
|
932
932
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
933
|
-
checksum = "
|
|
933
|
+
checksum = "0ab1baf72f08796de0260609515130699b890ac25f30e610ad894bc5856cafdb"
|
|
934
934
|
dependencies = [
|
|
935
935
|
"defmt",
|
|
936
936
|
"jiff-core",
|
|
@@ -943,18 +943,19 @@ dependencies = [
|
|
|
943
943
|
|
|
944
944
|
[[package]]
|
|
945
945
|
name = "jiff-core"
|
|
946
|
-
version = "0.1.
|
|
946
|
+
version = "0.1.1"
|
|
947
947
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
948
|
-
checksum = "
|
|
948
|
+
checksum = "5e52fe76043ccecc9005d2305ebaadf7d7fc0cc89ca6baa10a94d6bc68c7128c"
|
|
949
949
|
dependencies = [
|
|
950
950
|
"defmt",
|
|
951
|
+
"log",
|
|
951
952
|
]
|
|
952
953
|
|
|
953
954
|
[[package]]
|
|
954
955
|
name = "jiff-static"
|
|
955
|
-
version = "0.2.
|
|
956
|
+
version = "0.2.37"
|
|
956
957
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
957
|
-
checksum = "
|
|
958
|
+
checksum = "378268a1116ad67ae6228701118ac9f491d78fda38a40a1f1a9e1348de6f7212"
|
|
958
959
|
dependencies = [
|
|
959
960
|
"jiff-core",
|
|
960
961
|
"proc-macro2",
|
|
@@ -1039,9 +1040,9 @@ checksum = "3eaf3ede3fee6db1a4c2ee091bf8a8b4dccdc6d17f656fb07896ee72867612f2"
|
|
|
1039
1040
|
|
|
1040
1041
|
[[package]]
|
|
1041
1042
|
name = "libredox"
|
|
1042
|
-
version = "0.1.
|
|
1043
|
+
version = "0.1.24"
|
|
1043
1044
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1044
|
-
checksum = "
|
|
1045
|
+
checksum = "6480ccc157a1389bb2e4891b24751b0f798ba640d22386f23143fbcc89da195a"
|
|
1045
1046
|
dependencies = [
|
|
1046
1047
|
"libc",
|
|
1047
1048
|
]
|
|
@@ -1250,7 +1251,7 @@ checksum = "1a80800c0488c3a21695ea981a54918fbb37abf04f4d0720c453632255e2ff0e"
|
|
|
1250
1251
|
|
|
1251
1252
|
[[package]]
|
|
1252
1253
|
name = "panache"
|
|
1253
|
-
version = "3.
|
|
1254
|
+
version = "3.11.0"
|
|
1254
1255
|
dependencies = [
|
|
1255
1256
|
"annotate-snippets",
|
|
1256
1257
|
"assert_cmd",
|
|
@@ -1295,7 +1296,7 @@ dependencies = [
|
|
|
1295
1296
|
|
|
1296
1297
|
[[package]]
|
|
1297
1298
|
name = "panache-formatter"
|
|
1298
|
-
version = "0.24.
|
|
1299
|
+
version = "0.24.2"
|
|
1299
1300
|
dependencies = [
|
|
1300
1301
|
"badness-formatter",
|
|
1301
1302
|
"insta",
|
|
@@ -1315,7 +1316,7 @@ dependencies = [
|
|
|
1315
1316
|
|
|
1316
1317
|
[[package]]
|
|
1317
1318
|
name = "panache-parser"
|
|
1318
|
-
version = "0.29.
|
|
1319
|
+
version = "0.29.2"
|
|
1319
1320
|
dependencies = [
|
|
1320
1321
|
"badness-parser",
|
|
1321
1322
|
"entities",
|
|
@@ -1330,6 +1331,7 @@ dependencies = [
|
|
|
1330
1331
|
"serde_json",
|
|
1331
1332
|
"smallvec",
|
|
1332
1333
|
"toml",
|
|
1334
|
+
"unicode-general-category",
|
|
1333
1335
|
"unicode-width",
|
|
1334
1336
|
]
|
|
1335
1337
|
|
|
@@ -1915,9 +1917,9 @@ checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5"
|
|
|
1915
1917
|
|
|
1916
1918
|
[[package]]
|
|
1917
1919
|
name = "smallvec"
|
|
1918
|
-
version = "1.16.
|
|
1920
|
+
version = "1.16.1"
|
|
1919
1921
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1920
|
-
checksum = "
|
|
1922
|
+
checksum = "ba467056f1b547ed52077911161fc86985becbc60e8e1857c8a144dab0def891"
|
|
1921
1923
|
|
|
1922
1924
|
[[package]]
|
|
1923
1925
|
name = "smol_str"
|
|
@@ -1986,13 +1988,13 @@ dependencies = [
|
|
|
1986
1988
|
|
|
1987
1989
|
[[package]]
|
|
1988
1990
|
name = "synstructure"
|
|
1989
|
-
version = "0.
|
|
1991
|
+
version = "0.14.0"
|
|
1990
1992
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1991
|
-
checksum = "
|
|
1993
|
+
checksum = "901704edd0dfe137f1987838ee4f259e4e063c31371bdb423f7ae38ec6f77f02"
|
|
1992
1994
|
dependencies = [
|
|
1993
1995
|
"proc-macro2",
|
|
1994
1996
|
"quote",
|
|
1995
|
-
"syn
|
|
1997
|
+
"syn 3.0.5",
|
|
1996
1998
|
]
|
|
1997
1999
|
|
|
1998
2000
|
[[package]]
|
|
@@ -2382,13 +2384,13 @@ dependencies = [
|
|
|
2382
2384
|
|
|
2383
2385
|
[[package]]
|
|
2384
2386
|
name = "yoke-derive"
|
|
2385
|
-
version = "0.8.
|
|
2387
|
+
version = "0.8.3"
|
|
2386
2388
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2387
|
-
checksum = "
|
|
2389
|
+
checksum = "33811428bee40dbceb6d545e95754741d17a6aef9a4849f0fd62e2ba4f412a78"
|
|
2388
2390
|
dependencies = [
|
|
2389
2391
|
"proc-macro2",
|
|
2390
2392
|
"quote",
|
|
2391
|
-
"syn
|
|
2393
|
+
"syn 3.0.5",
|
|
2392
2394
|
"synstructure",
|
|
2393
2395
|
]
|
|
2394
2396
|
|
|
@@ -2423,13 +2425,13 @@ dependencies = [
|
|
|
2423
2425
|
|
|
2424
2426
|
[[package]]
|
|
2425
2427
|
name = "zerofrom-derive"
|
|
2426
|
-
version = "0.1.
|
|
2428
|
+
version = "0.1.8"
|
|
2427
2429
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2428
|
-
checksum = "
|
|
2430
|
+
checksum = "f75b4683f6c7f45248d4d64056a24298c6281e0993356d7d1b4a1a962ef10d4a"
|
|
2429
2431
|
dependencies = [
|
|
2430
2432
|
"proc-macro2",
|
|
2431
2433
|
"quote",
|
|
2432
|
-
"syn
|
|
2434
|
+
"syn 3.0.5",
|
|
2433
2435
|
"synstructure",
|
|
2434
2436
|
]
|
|
2435
2437
|
|
|
@@ -2468,9 +2470,9 @@ dependencies = [
|
|
|
2468
2470
|
|
|
2469
2471
|
[[package]]
|
|
2470
2472
|
name = "zlib-rs"
|
|
2471
|
-
version = "0.6.
|
|
2473
|
+
version = "0.6.8"
|
|
2472
2474
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2473
|
-
checksum = "
|
|
2475
|
+
checksum = "b268e58e7c693d7c271f93ffc4ba3b380412554231c85bf61ca7af91042a4112"
|
|
2474
2476
|
|
|
2475
2477
|
[[package]]
|
|
2476
2478
|
name = "zmij"
|
|
@@ -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.11.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.24.
|
|
54
|
+
panache-formatter = { path = "crates/panache-formatter", version = "0.24.2", features = [
|
|
55
55
|
"serde",
|
|
56
56
|
"schema",
|
|
57
57
|
] }
|
|
58
|
-
panache-parser = { path = "crates/panache-parser", version = "0.29.
|
|
58
|
+
panache-parser = { path = "crates/panache-parser", version = "0.29.2", features = [
|
|
59
59
|
"serde",
|
|
60
60
|
"schema",
|
|
61
61
|
] }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: panache-cli
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.11.0
|
|
4
4
|
Classifier: Development Status :: 5 - Production/Stable
|
|
5
5
|
Classifier: Environment :: Console
|
|
6
6
|
Classifier: Intended Audience :: Developers
|
|
@@ -37,7 +37,6 @@ Code](https://vsmarketplacebadges.dev/version-short/jolars.panache.svg?logo=vsix
|
|
|
37
37
|
version](https://badge.fury.io/py/panache-cli.svg?icon=si%3Apython)](https://badge.fury.io/py/panache-cli)
|
|
38
38
|
[](https://badge.fury.io/js/@panache-cli%2Fpanache)
|
|
40
|
-
[](https://codecov.io/gh/jolars/panache)
|
|
41
40
|
|
|
42
41
|
Panache is a language server, formatter, and linter for Markdown, Quarto, and R
|
|
43
42
|
Markdown, built in Rust with a lossless CST parser and support for external
|
|
@@ -11,7 +11,6 @@ Code](https://vsmarketplacebadges.dev/version-short/jolars.panache.svg?logo=vsix
|
|
|
11
11
|
version](https://badge.fury.io/py/panache-cli.svg?icon=si%3Apython)](https://badge.fury.io/py/panache-cli)
|
|
12
12
|
[](https://badge.fury.io/js/@panache-cli%2Fpanache)
|
|
14
|
-
[](https://codecov.io/gh/jolars/panache)
|
|
15
14
|
|
|
16
15
|
Panache is a language server, formatter, and linter for Markdown, Quarto, and R
|
|
17
16
|
Markdown, built in Rust with a lossless CST parser and support for external
|
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.24.2](https://github.com/jolars/panache/compare/panache-formatter-v0.24.1...panache-formatter-v0.24.2) (2026-09-16)
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
- **parser:** keep divs with invalid names raw ([`9a05435`](https://github.com/jolars/panache/commit/9a054356d677d29687a6185bd2888ab08ed0f1ed))
|
|
7
|
+
- **formatter:** break sentences after footnotes ([`26fa0df`](https://github.com/jolars/panache/commit/26fa0dfd1fb4b9ef26acb97facd4a18eb4f2d569)), fixes [#536](https://github.com/jolars/panache/issues/536)
|
|
8
|
+
|
|
9
|
+
### Dependencies
|
|
10
|
+
- updated crates/panache-parser to v0.29.2
|
|
11
|
+
|
|
3
12
|
## [0.24.1](https://github.com/jolars/panache/compare/panache-formatter-v0.24.0...panache-formatter-v0.24.1) (2026-09-11)
|
|
4
13
|
|
|
5
14
|
### Bug Fixes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "panache-formatter"
|
|
3
|
-
version = "0.24.
|
|
3
|
+
version = "0.24.2"
|
|
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.29.
|
|
22
|
+
panache-parser = { path = "../panache-parser", version = "0.29.2" }
|
|
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 }
|
{panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-formatter/src/formatter/inline_layout.rs
RENAMED
|
@@ -1377,7 +1377,7 @@ fn process_node_recursive(
|
|
|
1377
1377
|
sink.push_verbatim_block(verbatim);
|
|
1378
1378
|
}
|
|
1379
1379
|
}
|
|
1380
|
-
SyntaxKind::CITATION | SyntaxKind::CROSSREF => {
|
|
1380
|
+
SyntaxKind::CITATION | SyntaxKind::CROSSREF | SyntaxKind::FOOTNOTE_REFERENCE => {
|
|
1381
1381
|
if in_inline_footnote && sink.skip_next_leading_whitespace() {
|
|
1382
1382
|
sink.set_skip_next_leading_whitespace(false);
|
|
1383
1383
|
}
|
|
@@ -17,6 +17,11 @@ impl Formatter {
|
|
|
17
17
|
continue;
|
|
18
18
|
};
|
|
19
19
|
if token.kind() == SyntaxKind::LINE_PREFIX {
|
|
20
|
+
// Raw blocks have no parsed inner containers. Their entire
|
|
21
|
+
// prefix belongs to the enclosing container, which emits it.
|
|
22
|
+
if node.kind() == SyntaxKind::HTML_BLOCK_RAW {
|
|
23
|
+
continue;
|
|
24
|
+
}
|
|
20
25
|
if token.text().contains('>') {
|
|
21
26
|
after_marker = true;
|
|
22
27
|
} else if after_marker {
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.29.2](https://github.com/jolars/panache/compare/panache-parser-v0.29.1...panache-parser-v0.29.2) (2026-09-16)
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
- **parser:** keep divs with invalid names raw ([`9a05435`](https://github.com/jolars/panache/commit/9a054356d677d29687a6185bd2888ab08ed0f1ed))
|
|
7
|
+
- **parser:** keep `<div/>` bodies inside the div ([`04c9582`](https://github.com/jolars/panache/commit/04c9582314966adee5819fa43173dfce0e7a28a0))
|
|
8
|
+
|
|
3
9
|
## [0.29.1](https://github.com/jolars/panache/compare/panache-parser-v0.29.0...panache-parser-v0.29.1) (2026-09-11)
|
|
4
10
|
|
|
5
11
|
### Bug Fixes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "panache-parser"
|
|
3
|
-
version = "0.29.
|
|
3
|
+
version = "0.29.2"
|
|
4
4
|
edition.workspace = true
|
|
5
5
|
rust-version.workspace = true
|
|
6
6
|
readme = "README.md"
|
|
@@ -30,6 +30,7 @@ log = { version = "0.4.31", features = ["release_max_level_debug"] }
|
|
|
30
30
|
memchr = "2.8.3"
|
|
31
31
|
phf = "0.14.0"
|
|
32
32
|
smallvec = "1.15.2"
|
|
33
|
+
unicode-general-category = "1.1.0"
|
|
33
34
|
unicode-width = "0.2.2"
|
|
34
35
|
|
|
35
36
|
[features]
|
{panache_cli-3.10.0 → panache_cli-3.11.0}/crates/panache-parser/src/parser/blocks/html_blocks.rs
RENAMED
|
@@ -9,7 +9,7 @@ use super::blockquotes::{count_blockquote_markers, strip_n_blockquote_markers};
|
|
|
9
9
|
use super::container_prefix::{
|
|
10
10
|
ContainerPrefix, ContainerPrefixLine, ContainerPrefixState, emit_grafted_token,
|
|
11
11
|
};
|
|
12
|
-
use crate::parser::utils::attributes::emit_html_attrs_node;
|
|
12
|
+
use crate::parser::utils::attributes::{emit_html_attrs_node, pandoc_html_attribute_names_valid};
|
|
13
13
|
use crate::parser::utils::helpers::{strip_leading_spaces, strip_newline};
|
|
14
14
|
|
|
15
15
|
/// HTML block-level tags as defined by CommonMark spec.
|
|
@@ -602,9 +602,9 @@ fn is_closing_marker(line: &str, block_type: &HtmlBlockType) -> bool {
|
|
|
602
602
|
}
|
|
603
603
|
|
|
604
604
|
/// Count occurrences of `<tag_name ...>` (open) and `</tag_name>` (close) in
|
|
605
|
-
/// `line`.
|
|
606
|
-
///
|
|
607
|
-
///
|
|
605
|
+
/// `line`. Pandoc treats `<div/>` as an opening div, so it increases
|
|
606
|
+
/// nesting depth despite the slash. Other self-closing forms and tags
|
|
607
|
+
/// inside quoted attribute values are not counted.
|
|
608
608
|
///
|
|
609
609
|
/// Used by [`parse_html_block_with_wrapper`] to balance nested same-name
|
|
610
610
|
/// tags under Pandoc dialect (mirrors pandoc's `htmlInBalanced`), and by
|
|
@@ -663,7 +663,7 @@ pub(crate) fn count_tag_balance(line: &str, tag_name: &str) -> (usize, usize) {
|
|
|
663
663
|
if matched && is_boundary {
|
|
664
664
|
if is_close {
|
|
665
665
|
closes += 1;
|
|
666
|
-
} else if !self_close {
|
|
666
|
+
} else if !self_close || tag_lower == "div" {
|
|
667
667
|
opens += 1;
|
|
668
668
|
}
|
|
669
669
|
}
|
|
@@ -819,37 +819,75 @@ fn try_parse_comment_pi_with_trailing_split(
|
|
|
819
819
|
}
|
|
820
820
|
}
|
|
821
821
|
let close_line_idx = close_line_idx?;
|
|
822
|
-
let close_line = lines[close_line_idx];
|
|
823
822
|
let close_inner = if bq_depth > 0 {
|
|
823
|
+
strip_n_blockquote_markers(lines[close_line_idx], bq_depth)
|
|
824
|
+
} else {
|
|
825
|
+
lines[close_line_idx]
|
|
826
|
+
};
|
|
827
|
+
if !close_inner[marker_end_in_inner..]
|
|
828
|
+
.bytes()
|
|
829
|
+
.any(|b| !b.is_ascii_whitespace())
|
|
830
|
+
{
|
|
831
|
+
return None;
|
|
832
|
+
}
|
|
833
|
+
|
|
834
|
+
Some(parse_raw_html_block_with_trailing(
|
|
835
|
+
builder,
|
|
836
|
+
lines,
|
|
837
|
+
start_pos,
|
|
838
|
+
if bq_depth > 0 {
|
|
839
|
+
strip_n_blockquote_markers(lines[start_pos], bq_depth)
|
|
840
|
+
} else {
|
|
841
|
+
lines[start_pos]
|
|
842
|
+
},
|
|
843
|
+
(close_line_idx, marker_end_in_inner),
|
|
844
|
+
html_block_node_kind(wrapper_kind, block_type, config.dialect),
|
|
845
|
+
bq_depth,
|
|
846
|
+
fusion,
|
|
847
|
+
config,
|
|
848
|
+
))
|
|
849
|
+
}
|
|
850
|
+
|
|
851
|
+
#[allow(clippy::too_many_arguments)]
|
|
852
|
+
fn parse_raw_html_block_with_trailing(
|
|
853
|
+
builder: &mut GreenNodeBuilder<'static>,
|
|
854
|
+
lines: &[&str],
|
|
855
|
+
start_pos: usize,
|
|
856
|
+
first_inner: &str,
|
|
857
|
+
(close_line_idx, marker_end_in_inner): (usize, usize),
|
|
858
|
+
wrapper_kind: SyntaxKind,
|
|
859
|
+
bq_depth: usize,
|
|
860
|
+
fusion: SoftbreakFusion,
|
|
861
|
+
config: &ParserOptions,
|
|
862
|
+
) -> usize {
|
|
863
|
+
let close_line = lines[close_line_idx];
|
|
864
|
+
let close_inner = if close_line_idx == start_pos {
|
|
865
|
+
first_inner
|
|
866
|
+
} else if bq_depth > 0 {
|
|
824
867
|
strip_n_blockquote_markers(close_line, bq_depth)
|
|
825
868
|
} else {
|
|
826
869
|
close_line
|
|
827
870
|
};
|
|
828
871
|
let close_prefix_len = close_line.len() - close_inner.len();
|
|
872
|
+
let marker_end_in_inner = if close_inner[marker_end_in_inner..]
|
|
873
|
+
.bytes()
|
|
874
|
+
.all(|b| b.is_ascii_whitespace())
|
|
875
|
+
{
|
|
876
|
+
close_inner.len()
|
|
877
|
+
} else {
|
|
878
|
+
marker_end_in_inner
|
|
879
|
+
};
|
|
829
880
|
let trailing = &close_inner[marker_end_in_inner..];
|
|
830
881
|
|
|
831
|
-
|
|
832
|
-
if !has_non_ws_trailing {
|
|
833
|
-
return None;
|
|
834
|
-
}
|
|
835
|
-
|
|
836
|
-
builder.start_node(html_block_node_kind(wrapper_kind, block_type, config.dialect).into());
|
|
882
|
+
builder.start_node(wrapper_kind.into());
|
|
837
883
|
|
|
838
884
|
if close_line_idx == start_pos {
|
|
839
885
|
builder.start_node(SyntaxKind::HTML_BLOCK_TAG.into());
|
|
840
886
|
let close_part = &close_inner[..marker_end_in_inner];
|
|
841
|
-
|
|
842
|
-
builder.token(SyntaxKind::TEXT.into(), close_part);
|
|
843
|
-
}
|
|
887
|
+
emit_html_block_line(builder, close_part, 0);
|
|
844
888
|
builder.finish_node();
|
|
845
889
|
} else {
|
|
846
890
|
builder.start_node(SyntaxKind::HTML_BLOCK_TAG.into());
|
|
847
|
-
let first_line = lines[start_pos];
|
|
848
|
-
let first_inner = if bq_depth > 0 {
|
|
849
|
-
strip_n_blockquote_markers(first_line, bq_depth)
|
|
850
|
-
} else {
|
|
851
|
-
first_line
|
|
852
|
-
};
|
|
853
891
|
let (line_no_nl, nl) = strip_newline(first_inner);
|
|
854
892
|
if !line_no_nl.is_empty() {
|
|
855
893
|
builder.token(SyntaxKind::TEXT.into(), line_no_nl);
|
|
@@ -872,9 +910,7 @@ fn try_parse_comment_pi_with_trailing_split(
|
|
|
872
910
|
emit_bq_prefix_tokens(builder, &close_line[..close_prefix_len]);
|
|
873
911
|
}
|
|
874
912
|
let close_part = &close_inner[..marker_end_in_inner];
|
|
875
|
-
|
|
876
|
-
builder.token(SyntaxKind::TEXT.into(), close_part);
|
|
877
|
-
}
|
|
913
|
+
emit_html_block_line(builder, close_part, 0);
|
|
878
914
|
builder.finish_node();
|
|
879
915
|
}
|
|
880
916
|
|
|
@@ -921,7 +957,7 @@ fn try_parse_comment_pi_with_trailing_split(
|
|
|
921
957
|
}
|
|
922
958
|
let mut bq = ContainerPrefixState::new(prefix_lines);
|
|
923
959
|
graft_subtree(builder, &first, &mut bq);
|
|
924
|
-
return
|
|
960
|
+
return close_line_idx + 1 + extra_lines;
|
|
925
961
|
}
|
|
926
962
|
}
|
|
927
963
|
|
|
@@ -933,7 +969,79 @@ fn try_parse_comment_pi_with_trailing_split(
|
|
|
933
969
|
graft_document_children(builder, &inner_root, LastParaDemote::Never, &mut bq);
|
|
934
970
|
}
|
|
935
971
|
|
|
936
|
-
|
|
972
|
+
close_line_idx + 1
|
|
973
|
+
}
|
|
974
|
+
|
|
975
|
+
/// A balanced div rejected by Pandoc's attribute-name check is one raw
|
|
976
|
+
/// block. Its body must not create Markdown nodes or indexed attributes.
|
|
977
|
+
fn try_parse_div_with_invalid_attribute_names(
|
|
978
|
+
builder: &mut GreenNodeBuilder<'static>,
|
|
979
|
+
lines: &[&str],
|
|
980
|
+
start_pos: usize,
|
|
981
|
+
prefix: &ContainerPrefix,
|
|
982
|
+
fusion: SoftbreakFusion,
|
|
983
|
+
config: &ParserOptions,
|
|
984
|
+
) -> Option<usize> {
|
|
985
|
+
use std::borrow::Cow;
|
|
986
|
+
|
|
987
|
+
let first_inner = prefix.strip_line_0_for_emission(lines[start_pos]);
|
|
988
|
+
let open_end =
|
|
989
|
+
find_multiline_open_end(lines, start_pos, first_inner, "div", prefix).unwrap_or(start_pos);
|
|
990
|
+
let mut text = if open_end == start_pos {
|
|
991
|
+
Cow::Borrowed(first_inner)
|
|
992
|
+
} else {
|
|
993
|
+
let mut text = first_inner.to_string();
|
|
994
|
+
for line in &lines[start_pos + 1..=open_end] {
|
|
995
|
+
text.push_str(prefix.strip(line));
|
|
996
|
+
}
|
|
997
|
+
Cow::Owned(text)
|
|
998
|
+
};
|
|
999
|
+
let open_gt = locate_open_tag_close_gt(&text, "div")?;
|
|
1000
|
+
let name_start = text.find('<')? + "<div".len();
|
|
1001
|
+
if pandoc_html_attribute_names_valid(&text[name_start..open_gt]) {
|
|
1002
|
+
return None;
|
|
1003
|
+
}
|
|
1004
|
+
|
|
1005
|
+
let body_end = if prefix.bq_depth() > 0 {
|
|
1006
|
+
blockquote_body_end(lines, open_end + 1, prefix.bq_depth())
|
|
1007
|
+
} else {
|
|
1008
|
+
lines.len()
|
|
1009
|
+
};
|
|
1010
|
+
let mut close_offset = matched_close_offset(&text[open_gt + 1..], "div", false);
|
|
1011
|
+
for line in &lines[open_end + 1..body_end] {
|
|
1012
|
+
if close_offset.is_some() {
|
|
1013
|
+
break;
|
|
1014
|
+
}
|
|
1015
|
+
let inner = prefix.strip(line);
|
|
1016
|
+
text.to_mut().push_str(inner);
|
|
1017
|
+
if inner.contains('>') {
|
|
1018
|
+
close_offset = matched_close_offset(&text[open_gt + 1..], "div", false);
|
|
1019
|
+
}
|
|
1020
|
+
}
|
|
1021
|
+
let (_, close_end) = close_offset?;
|
|
1022
|
+
let mut remaining = open_gt + 1 + close_end;
|
|
1023
|
+
for (line_idx, line) in lines.iter().enumerate().take(body_end).skip(start_pos) {
|
|
1024
|
+
let inner = if line_idx == start_pos {
|
|
1025
|
+
first_inner
|
|
1026
|
+
} else {
|
|
1027
|
+
prefix.strip(line)
|
|
1028
|
+
};
|
|
1029
|
+
if remaining <= inner.len() {
|
|
1030
|
+
return Some(parse_raw_html_block_with_trailing(
|
|
1031
|
+
builder,
|
|
1032
|
+
lines,
|
|
1033
|
+
start_pos,
|
|
1034
|
+
first_inner,
|
|
1035
|
+
(line_idx, remaining),
|
|
1036
|
+
SyntaxKind::HTML_BLOCK_RAW,
|
|
1037
|
+
prefix.bq_depth(),
|
|
1038
|
+
fusion,
|
|
1039
|
+
config,
|
|
1040
|
+
));
|
|
1041
|
+
}
|
|
1042
|
+
remaining -= inner.len();
|
|
1043
|
+
}
|
|
1044
|
+
None
|
|
937
1045
|
}
|
|
938
1046
|
|
|
939
1047
|
enum StandaloneTagSegment<'a> {
|
|
@@ -1087,6 +1195,14 @@ pub(crate) fn parse_html_block_with_wrapper(
|
|
|
1087
1195
|
config: &ParserOptions,
|
|
1088
1196
|
) -> usize {
|
|
1089
1197
|
let bq_depth = prefix.bq_depth();
|
|
1198
|
+
if wrapper_kind == SyntaxKind::HTML_BLOCK_DIV
|
|
1199
|
+
&& config.dialect == crate::options::Dialect::Pandoc
|
|
1200
|
+
&& let Some(consumed) = try_parse_div_with_invalid_attribute_names(
|
|
1201
|
+
builder, lines, start_pos, prefix, fusion, config,
|
|
1202
|
+
)
|
|
1203
|
+
{
|
|
1204
|
+
return consumed;
|
|
1205
|
+
}
|
|
1090
1206
|
if config.dialect == crate::options::Dialect::Pandoc
|
|
1091
1207
|
&& matches!(
|
|
1092
1208
|
block_type,
|
|
@@ -2289,7 +2405,7 @@ fn same_line_trailing_forces_opaque(line: &str, tag_name: &str) -> bool {
|
|
|
2289
2405
|
return false;
|
|
2290
2406
|
};
|
|
2291
2407
|
let trailing = &after_name[gt_idx + 1..];
|
|
2292
|
-
let Some((_, close_end)) = matched_close_offset(trailing, tag_name) else {
|
|
2408
|
+
let Some((_, close_end)) = matched_close_offset(trailing, tag_name, true) else {
|
|
2293
2409
|
return false;
|
|
2294
2410
|
};
|
|
2295
2411
|
let after_close = &trailing[close_end..];
|
|
@@ -2363,10 +2479,14 @@ fn probe_same_line_lift(line: &str, tag_name: &str) -> bool {
|
|
|
2363
2479
|
return false;
|
|
2364
2480
|
};
|
|
2365
2481
|
let trailing = &after_name[gt_idx + 1..];
|
|
2366
|
-
matched_close_offset(trailing, tag_name).is_some()
|
|
2482
|
+
matched_close_offset(trailing, tag_name, true).is_some()
|
|
2367
2483
|
}
|
|
2368
2484
|
|
|
2369
|
-
fn matched_close_offset(
|
|
2485
|
+
fn matched_close_offset(
|
|
2486
|
+
trailing: &str,
|
|
2487
|
+
tag_name: &str,
|
|
2488
|
+
native_divs: bool,
|
|
2489
|
+
) -> Option<(usize, usize)> {
|
|
2370
2490
|
let bytes = trailing.as_bytes();
|
|
2371
2491
|
let lower_line = trailing.to_ascii_lowercase();
|
|
2372
2492
|
let lower_bytes = lower_line.as_bytes();
|
|
@@ -2420,7 +2540,7 @@ fn matched_close_offset(trailing: &str, tag_name: &str) -> Option<(usize, usize)
|
|
|
2420
2540
|
if depth == 0 && found_gt {
|
|
2421
2541
|
return Some((i, j + 1));
|
|
2422
2542
|
}
|
|
2423
|
-
} else if !self_close {
|
|
2543
|
+
} else if !self_close || (native_divs && tag_lower == "div") {
|
|
2424
2544
|
depth += 1;
|
|
2425
2545
|
}
|
|
2426
2546
|
}
|
|
@@ -2498,7 +2618,7 @@ fn try_split_close_line_depth_aware<'a>(
|
|
|
2498
2618
|
line: &'a str,
|
|
2499
2619
|
tag_name: &str,
|
|
2500
2620
|
) -> Option<(&'a str, &'a str)> {
|
|
2501
|
-
let (close_start, _close_end) = matched_close_offset(line, tag_name)?;
|
|
2621
|
+
let (close_start, _close_end) = matched_close_offset(line, tag_name, true)?;
|
|
2502
2622
|
Some((&line[..close_start], &line[close_start..]))
|
|
2503
2623
|
}
|
|
2504
2624
|
|
|
@@ -2510,7 +2630,7 @@ fn find_next_matched_pair(s: &str, tag_name: &str) -> Option<(usize, usize)> {
|
|
|
2510
2630
|
if let Some(gt_rel) = locate_open_tag_close_gt(&s[lt..], tag_name) {
|
|
2511
2631
|
let after_open = lt + gt_rel + 1;
|
|
2512
2632
|
if let Some((_close_start, close_end)) =
|
|
2513
|
-
matched_close_offset(&s[after_open..], tag_name)
|
|
2633
|
+
matched_close_offset(&s[after_open..], tag_name, true)
|
|
2514
2634
|
{
|
|
2515
2635
|
return Some((lt, after_open + close_end));
|
|
2516
2636
|
}
|