panache-cli 3.0.0__tar.gz → 3.0.1__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.0.0 → panache_cli-3.0.1}/Cargo.lock +77 -40
- {panache_cli-3.0.0 → panache_cli-3.0.1}/Cargo.toml +18 -18
- {panache_cli-3.0.0 → panache_cli-3.0.1}/PKG-INFO +1 -1
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-formatter/CHANGELOG.md +11 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-formatter/Cargo.toml +6 -6
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-formatter/src/formatter/inline_layout.rs +7 -3
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-formatter/src/formatter/tables.rs +16 -34
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/CHANGELOG.md +12 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/Cargo.toml +6 -6
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/pandoc_ast.rs +3 -31
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/blocks/lists.rs +1 -1
- panache_cli-3.0.1/crates/panache-parser/src/parser/blocks/paragraphs.rs +249 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/blocks/tables.rs +225 -28
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/blocks/tests/code_blocks.rs +219 -1
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/core.rs +47 -5
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/inlines/citations.rs +114 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/utils/container_stack.rs +17 -1
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/utils/list_item_buffer.rs +49 -9
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/linter/rules/citation_nonbreaking_space.rs +10 -0
- panache_cli-3.0.0/crates/panache-parser/src/parser/blocks/paragraphs.rs +0 -167
- {panache_cli-3.0.0 → panache_cli-3.0.1}/LICENSE +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/README.md +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/assets/quarto-schema/schema.json +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/build.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-formatter/README.md +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-formatter/src/config.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-formatter/src/directives.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-formatter/src/formatter/blockquotes.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-formatter/src/formatter/code_blocks.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-formatter/src/formatter/core.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-formatter/src/formatter/fenced_divs.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-formatter/src/formatter/hashpipe.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-formatter/src/formatter/headings.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-formatter/src/formatter/indent_utils.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-formatter/src/formatter/inline.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-formatter/src/formatter/lists.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-formatter/src/formatter/math/STYLE.md +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-formatter/src/formatter/math/linebreak.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-formatter/src/formatter/math/operators.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-formatter/src/formatter/math/render.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-formatter/src/formatter/math.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-formatter/src/formatter/metadata.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-formatter/src/formatter/paragraphs.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-formatter/src/formatter/sentence_wrap.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-formatter/src/formatter/shortcodes.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-formatter/src/formatter/smart.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-formatter/src/formatter/utils.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-formatter/src/formatter/yaml/STYLE.md +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-formatter/src/formatter/yaml/block_map.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-formatter/src/formatter/yaml/block_sequence.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-formatter/src/formatter/yaml/document.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-formatter/src/formatter/yaml/flow.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-formatter/src/formatter/yaml/options.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-formatter/src/formatter/yaml/scalar.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-formatter/src/formatter/yaml.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-formatter/src/formatter.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-formatter/src/lib.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-formatter/src/parser.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-formatter/src/syntax.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-formatter/src/utils.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-formatter/src/yaml_engine.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/README.md +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/build.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/grid_layout.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/lib.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/options.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/block_dispatcher.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/blocks/admonitions.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/blocks/blockquotes.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/blocks/code_blocks.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/blocks/container_prefix.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/blocks/definition_lists.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/blocks/fenced_divs.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/blocks/figures.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/blocks/headings.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/blocks/horizontal_rules.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/blocks/html_blocks.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/blocks/indented_code.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/blocks/latex_envs.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/blocks/line_blocks.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/blocks/metadata.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/blocks/myst_directives.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/blocks/myst_targets.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/blocks/raw_blocks.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/blocks/reference_links.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/blocks/tests/blanklines.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/blocks/tests/blockquotes.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/blocks/tests/definition_lists.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/blocks/tests/headings.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/blocks/tests/helpers.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/blocks/tests/lists.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/blocks/tests/losslessness.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/blocks/tests/metadata_guards.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/blocks.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/diagnostics.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/inlines/bookdown.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/inlines/bracketed_spans.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/inlines/code_spans.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/inlines/core.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/inlines/emoji.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/inlines/escapes.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/inlines/inline_executable.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/inlines/inline_footnotes.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/inlines/inline_html.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/inlines/inline_ir.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/inlines/latex.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/inlines/links.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/inlines/mark.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/inlines/math.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/inlines/myst_roles.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/inlines/myst_substitutions.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/inlines/native_spans.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/inlines/raw_inline.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/inlines/refdef_map.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/inlines/shortcodes.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/inlines/sink.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/inlines/strikeout.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/inlines/subscript.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/inlines/superscript.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/inlines/svelte.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/inlines/tests.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/inlines/uri-schemes.csv +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/inlines/wikilinks.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/inlines.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/math.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/utils/attributes.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/utils/chunk_options.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/utils/continuation.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/utils/helpers.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/utils/inline_emission.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/utils/marker_utils.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/utils/text_buffer.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/utils/tree_copy.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/utils/yaml_regions.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/utils.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/yaml/cooking.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/yaml/events.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/yaml/model.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/yaml/parser.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/yaml/profile.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/yaml/scanner.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/yaml/validator.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser/yaml.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/parser.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/range_utils.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/syntax/alerts.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/syntax/ast.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/syntax/attributes.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/syntax/block_quotes.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/syntax/blocks.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/syntax/chunk_options.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/syntax/citations.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/syntax/code_blocks.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/syntax/crossrefs.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/syntax/definitions.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/syntax/fenced_divs.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/syntax/headings.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/syntax/inlines.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/syntax/kind.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/syntax/links.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/syntax/lists.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/syntax/math.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/syntax/myst.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/syntax/raw_tex.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/syntax/references.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/syntax/shortcodes.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/syntax/tables.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/syntax/yaml.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/syntax/yaml_ast.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-parser/src/syntax.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/pyproject.toml +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/bib/bibtex.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/bib/csl_json.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/bib/csl_yaml.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/bib/index.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/bib/preview.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/bib/ris.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/bib.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/bin/distill_quarto_schema.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/cache.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/cli.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/config/formatter_presets.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/config/types/schema_helpers.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/config/types.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/config.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/diagnostic_renderer.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/directives.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/external_formatters_common.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/external_formatters_sync.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/external_tools_common.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/formatter.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/includes.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/lib.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/linter/code_block_collector.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/linter/diagnostics.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/linter/external_linters/clippy.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/linter/external_linters/eslint.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/linter/external_linters/jarl.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/linter/external_linters/ruff.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/linter/external_linters/shellcheck.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/linter/external_linters/staticcheck.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/linter/external_linters.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/linter/external_linters_sync.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/linter/fuzzy.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/linter/index.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/linter/metadata_diagnostics.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/linter/offsets.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/linter/quarto_schema/distill.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/linter/quarto_schema/interp.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/linter/quarto_schema/model.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/linter/quarto_schema/report.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/linter/quarto_schema/value.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/linter/quarto_schema.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/linter/rules/adjacent_footnote_refs.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/linter/rules/chunk_label_spaces.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/linter/rules/citation_keys.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/linter/rules/consumer_divergence.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/linter/rules/crossref_as_link_target.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/linter/rules/duplicate_references.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/linter/rules/emoji_aliases.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/linter/rules/empty_list_item.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/linter/rules/empty_values.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/linter/rules/figure_crossref_captions.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/linter/rules/footnote_ref_in_footnote_def.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/linter/rules/heading_eaten_attrs.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/linter/rules/heading_hierarchy.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/linter/rules/heading_strip_comments_residue.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/linter/rules/html_entities.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/linter/rules/link_text_is_url.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/linter/rules/math_content.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/linter/rules/missing_chunk_labels.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/linter/rules/quarto_schema.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/linter/rules/stray_fenced_div_markers.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/linter/rules/undefined_anchor.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/linter/rules/undefined_references.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/linter/rules/unused_definitions.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/linter/rules.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/linter/runner.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/linter/yaml_resolve.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/linter.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/lsp/config.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/lsp/context.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/lsp/conversions.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/lsp/dispatch.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/lsp/documents.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/lsp/global_state.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/lsp/handlers/code_actions.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/lsp/handlers/completion.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/lsp/handlers/configuration.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/lsp/handlers/diagnostics.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/lsp/handlers/document_highlight.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/lsp/handlers/document_links.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/lsp/handlers/document_symbols.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/lsp/handlers/file_operations.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/lsp/handlers/file_rename.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/lsp/handlers/file_watcher.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/lsp/handlers/folding_ranges.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/lsp/handlers/footnote_conversion.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/lsp/handlers/formatting.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/lsp/handlers/goto_definition.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/lsp/handlers/heading_link_conversion.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/lsp/handlers/hover.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/lsp/handlers/link_conversion.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/lsp/handlers/linked_editing_range.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/lsp/handlers/list_conversion.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/lsp/handlers/prepare_rename.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/lsp/handlers/references.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/lsp/handlers/rename.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/lsp/handlers/semantic_tokens.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/lsp/handlers/shortcode_args.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/lsp/handlers/workspace_folders.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/lsp/handlers/workspace_symbols.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/lsp/handlers.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/lsp/helpers.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/lsp/navigation.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/lsp/symbols.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/lsp/task_pool.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/lsp/testing.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/lsp/uri_ext.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/lsp.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/main.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/metadata/bibliography.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/metadata/citations.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/metadata/project.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/metadata/references.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/metadata/yaml.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/metadata.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/parser.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/range_utils.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/salsa.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/syntax.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/utils.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/yaml_engine.rs +0 -0
- {panache_cli-3.0.0 → panache_cli-3.0.1}/src/yaml_regions.rs +0 -0
|
@@ -189,9 +189,9 @@ checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
|
|
|
189
189
|
|
|
190
190
|
[[package]]
|
|
191
191
|
name = "clap"
|
|
192
|
-
version = "4.6.
|
|
192
|
+
version = "4.6.4"
|
|
193
193
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
194
|
-
checksum = "
|
|
194
|
+
checksum = "d91e0c145792ef73a6ad36d27c75ac09f1832222a3c209689d90f534685ee5b7"
|
|
195
195
|
dependencies = [
|
|
196
196
|
"clap_builder",
|
|
197
197
|
"clap_derive",
|
|
@@ -229,14 +229,14 @@ dependencies = [
|
|
|
229
229
|
|
|
230
230
|
[[package]]
|
|
231
231
|
name = "clap_derive"
|
|
232
|
-
version = "4.6.
|
|
232
|
+
version = "4.6.4"
|
|
233
233
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
234
|
-
checksum = "
|
|
234
|
+
checksum = "d012d2b9d65aca7f18f4d9878a045bc17899bba951561ba5ec3c2ba1eed9a061"
|
|
235
235
|
dependencies = [
|
|
236
236
|
"heck",
|
|
237
237
|
"proc-macro2",
|
|
238
238
|
"quote",
|
|
239
|
-
"syn
|
|
239
|
+
"syn 3.0.3",
|
|
240
240
|
]
|
|
241
241
|
|
|
242
242
|
[[package]]
|
|
@@ -447,9 +447,9 @@ checksum = "d0881ea181b1df73ff77ffaaf9c7544ecc11e82fba9b5f27b262a3c73a332555"
|
|
|
447
447
|
|
|
448
448
|
[[package]]
|
|
449
449
|
name = "either"
|
|
450
|
-
version = "1.
|
|
450
|
+
version = "1.17.0"
|
|
451
451
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
452
|
-
checksum = "
|
|
452
|
+
checksum = "9e5e8f6c15a24b9a3ee5efec809ccd006d3b30e8b3bb63c39af737c7f87daa1d"
|
|
453
453
|
|
|
454
454
|
[[package]]
|
|
455
455
|
name = "email_address"
|
|
@@ -814,9 +814,9 @@ dependencies = [
|
|
|
814
814
|
|
|
815
815
|
[[package]]
|
|
816
816
|
name = "ignore"
|
|
817
|
-
version = "0.4.
|
|
817
|
+
version = "0.4.31"
|
|
818
818
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
819
|
-
checksum = "
|
|
819
|
+
checksum = "7f8a7b8211e695a1d0cd91cace480d4d0bd57667ab10277cc412c5f7f4884f83"
|
|
820
820
|
dependencies = [
|
|
821
821
|
"crossbeam-deque",
|
|
822
822
|
"globset",
|
|
@@ -930,9 +930,9 @@ dependencies = [
|
|
|
930
930
|
|
|
931
931
|
[[package]]
|
|
932
932
|
name = "jsonschema"
|
|
933
|
-
version = "0.
|
|
933
|
+
version = "0.48.5"
|
|
934
934
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
935
|
-
checksum = "
|
|
935
|
+
checksum = "f05a6cff806294a7699d48761d4ae2bdebab7fa2eef05e4a0b83320f0ff46901"
|
|
936
936
|
dependencies = [
|
|
937
937
|
"ahash",
|
|
938
938
|
"bytecount",
|
|
@@ -944,6 +944,7 @@ dependencies = [
|
|
|
944
944
|
"idna",
|
|
945
945
|
"itoa",
|
|
946
946
|
"jsonschema-regex",
|
|
947
|
+
"jsonschema-value",
|
|
947
948
|
"num-cmp",
|
|
948
949
|
"num-traits",
|
|
949
950
|
"percent-encoding",
|
|
@@ -951,19 +952,34 @@ dependencies = [
|
|
|
951
952
|
"regex",
|
|
952
953
|
"serde",
|
|
953
954
|
"serde_json",
|
|
955
|
+
"strum",
|
|
954
956
|
"unicode-general-category",
|
|
955
957
|
"uuid-simd",
|
|
956
958
|
]
|
|
957
959
|
|
|
958
960
|
[[package]]
|
|
959
961
|
name = "jsonschema-regex"
|
|
960
|
-
version = "0.
|
|
962
|
+
version = "0.48.5"
|
|
961
963
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
962
|
-
checksum = "
|
|
964
|
+
checksum = "84708dd3f6c5327478a96f37378adb27deed6a626cf84d19de780d9e8ae84b17"
|
|
963
965
|
dependencies = [
|
|
964
966
|
"regex-syntax",
|
|
965
967
|
]
|
|
966
968
|
|
|
969
|
+
[[package]]
|
|
970
|
+
name = "jsonschema-value"
|
|
971
|
+
version = "0.48.5"
|
|
972
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
973
|
+
checksum = "fd8c04ab4ce60e42c4e302d3bd9d184652bb56f212495d2eea23573bcbf72556"
|
|
974
|
+
dependencies = [
|
|
975
|
+
"ahash",
|
|
976
|
+
"bytecount",
|
|
977
|
+
"fraction",
|
|
978
|
+
"num-cmp",
|
|
979
|
+
"num-traits",
|
|
980
|
+
"serde_json",
|
|
981
|
+
]
|
|
982
|
+
|
|
967
983
|
[[package]]
|
|
968
984
|
name = "lazy_static"
|
|
969
985
|
version = "1.5.0"
|
|
@@ -972,9 +988,9 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
|
|
|
972
988
|
|
|
973
989
|
[[package]]
|
|
974
990
|
name = "libc"
|
|
975
|
-
version = "0.2.
|
|
991
|
+
version = "0.2.189"
|
|
976
992
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
977
|
-
checksum = "
|
|
993
|
+
checksum = "3eaf3ede3fee6db1a4c2ee091bf8a8b4dccdc6d17f656fb07896ee72867612f2"
|
|
978
994
|
|
|
979
995
|
[[package]]
|
|
980
996
|
name = "libredox"
|
|
@@ -1189,7 +1205,7 @@ checksum = "1a80800c0488c3a21695ea981a54918fbb37abf04f4d0720c453632255e2ff0e"
|
|
|
1189
1205
|
|
|
1190
1206
|
[[package]]
|
|
1191
1207
|
name = "panache"
|
|
1192
|
-
version = "3.0.
|
|
1208
|
+
version = "3.0.1"
|
|
1193
1209
|
dependencies = [
|
|
1194
1210
|
"annotate-snippets",
|
|
1195
1211
|
"assert_cmd",
|
|
@@ -1233,7 +1249,7 @@ dependencies = [
|
|
|
1233
1249
|
|
|
1234
1250
|
[[package]]
|
|
1235
1251
|
name = "panache-formatter"
|
|
1236
|
-
version = "0.20.
|
|
1252
|
+
version = "0.20.1"
|
|
1237
1253
|
dependencies = [
|
|
1238
1254
|
"insta",
|
|
1239
1255
|
"log",
|
|
@@ -1251,7 +1267,7 @@ dependencies = [
|
|
|
1251
1267
|
|
|
1252
1268
|
[[package]]
|
|
1253
1269
|
name = "panache-parser"
|
|
1254
|
-
version = "0.22.
|
|
1270
|
+
version = "0.22.1"
|
|
1255
1271
|
dependencies = [
|
|
1256
1272
|
"entities",
|
|
1257
1273
|
"insta",
|
|
@@ -1495,14 +1511,14 @@ checksum = "2c9283685feec7d69af75fb0e858d5e7378f33fe4fc699383b2916ab9273e03c"
|
|
|
1495
1511
|
dependencies = [
|
|
1496
1512
|
"proc-macro2",
|
|
1497
1513
|
"quote",
|
|
1498
|
-
"syn 3.0.
|
|
1514
|
+
"syn 3.0.3",
|
|
1499
1515
|
]
|
|
1500
1516
|
|
|
1501
1517
|
[[package]]
|
|
1502
1518
|
name = "referencing"
|
|
1503
|
-
version = "0.
|
|
1519
|
+
version = "0.48.5"
|
|
1504
1520
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1505
|
-
checksum = "
|
|
1521
|
+
checksum = "980e77f5cfffc592c0e7dfb6d20770a0b96a6ab94d403de7454ed9799505e4ba"
|
|
1506
1522
|
dependencies = [
|
|
1507
1523
|
"ahash",
|
|
1508
1524
|
"fluent-uri 0.4.1",
|
|
@@ -1595,9 +1611,9 @@ checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f"
|
|
|
1595
1611
|
|
|
1596
1612
|
[[package]]
|
|
1597
1613
|
name = "salsa"
|
|
1598
|
-
version = "0.28.
|
|
1614
|
+
version = "0.28.1"
|
|
1599
1615
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1600
|
-
checksum = "
|
|
1616
|
+
checksum = "a14fdadbf856222e731756d7fdbdf193a7abf8fdab009bb45f48671a42719a84"
|
|
1601
1617
|
dependencies = [
|
|
1602
1618
|
"boxcar",
|
|
1603
1619
|
"crossbeam-queue",
|
|
@@ -1621,15 +1637,15 @@ dependencies = [
|
|
|
1621
1637
|
|
|
1622
1638
|
[[package]]
|
|
1623
1639
|
name = "salsa-macro-rules"
|
|
1624
|
-
version = "0.28.
|
|
1640
|
+
version = "0.28.1"
|
|
1625
1641
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1626
|
-
checksum = "
|
|
1642
|
+
checksum = "50d7dc08ba69b9aedfa61dfc4d65548ae42c0d8b90bbd62cd121776920841bcf"
|
|
1627
1643
|
|
|
1628
1644
|
[[package]]
|
|
1629
1645
|
name = "salsa-macros"
|
|
1630
|
-
version = "0.28.
|
|
1646
|
+
version = "0.28.1"
|
|
1631
1647
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1632
|
-
checksum = "
|
|
1648
|
+
checksum = "ec5c48c5a4a53a6e2be9762f56566f1325d4394c011c00b3ea86ba2d13411e71"
|
|
1633
1649
|
dependencies = [
|
|
1634
1650
|
"proc-macro2",
|
|
1635
1651
|
"quote",
|
|
@@ -1703,7 +1719,7 @@ checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348"
|
|
|
1703
1719
|
dependencies = [
|
|
1704
1720
|
"proc-macro2",
|
|
1705
1721
|
"quote",
|
|
1706
|
-
"syn 3.0.
|
|
1722
|
+
"syn 3.0.3",
|
|
1707
1723
|
]
|
|
1708
1724
|
|
|
1709
1725
|
[[package]]
|
|
@@ -1738,7 +1754,7 @@ checksum = "8d3b1629de253c70a0508c3899572da79ca359fdab27c7920ff00406df418906"
|
|
|
1738
1754
|
dependencies = [
|
|
1739
1755
|
"proc-macro2",
|
|
1740
1756
|
"quote",
|
|
1741
|
-
"syn 3.0.
|
|
1757
|
+
"syn 3.0.3",
|
|
1742
1758
|
]
|
|
1743
1759
|
|
|
1744
1760
|
[[package]]
|
|
@@ -1812,6 +1828,27 @@ version = "0.11.1"
|
|
|
1812
1828
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1813
1829
|
checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
|
|
1814
1830
|
|
|
1831
|
+
[[package]]
|
|
1832
|
+
name = "strum"
|
|
1833
|
+
version = "0.28.0"
|
|
1834
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1835
|
+
checksum = "9628de9b8791db39ceda2b119bbe13134770b56c138ec1d3af810d045c04f9bd"
|
|
1836
|
+
dependencies = [
|
|
1837
|
+
"strum_macros",
|
|
1838
|
+
]
|
|
1839
|
+
|
|
1840
|
+
[[package]]
|
|
1841
|
+
name = "strum_macros"
|
|
1842
|
+
version = "0.28.0"
|
|
1843
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1844
|
+
checksum = "ab85eea0270ee17587ed4156089e10b9e6880ee688791d45a905f5b1ca36f664"
|
|
1845
|
+
dependencies = [
|
|
1846
|
+
"heck",
|
|
1847
|
+
"proc-macro2",
|
|
1848
|
+
"quote",
|
|
1849
|
+
"syn 2.0.119",
|
|
1850
|
+
]
|
|
1851
|
+
|
|
1815
1852
|
[[package]]
|
|
1816
1853
|
name = "syn"
|
|
1817
1854
|
version = "2.0.119"
|
|
@@ -1825,9 +1862,9 @@ dependencies = [
|
|
|
1825
1862
|
|
|
1826
1863
|
[[package]]
|
|
1827
1864
|
name = "syn"
|
|
1828
|
-
version = "3.0.
|
|
1865
|
+
version = "3.0.3"
|
|
1829
1866
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1830
|
-
checksum = "
|
|
1867
|
+
checksum = "53e9bae58849f64dfa4f5d5ae372c8341f7305f82a3868709269343628b659a3"
|
|
1831
1868
|
dependencies = [
|
|
1832
1869
|
"proc-macro2",
|
|
1833
1870
|
"quote",
|
|
@@ -1893,7 +1930,7 @@ checksum = "43cbfe0cf76104d42a574802844187e84a305e531ed54455f11fbde0f10541cd"
|
|
|
1893
1930
|
dependencies = [
|
|
1894
1931
|
"proc-macro2",
|
|
1895
1932
|
"quote",
|
|
1896
|
-
"syn 3.0.
|
|
1933
|
+
"syn 3.0.3",
|
|
1897
1934
|
]
|
|
1898
1935
|
|
|
1899
1936
|
[[package]]
|
|
@@ -2144,9 +2181,9 @@ dependencies = [
|
|
|
2144
2181
|
|
|
2145
2182
|
[[package]]
|
|
2146
2183
|
name = "wincode"
|
|
2147
|
-
version = "0.
|
|
2184
|
+
version = "0.6.0"
|
|
2148
2185
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2149
|
-
checksum = "
|
|
2186
|
+
checksum = "b5d39d1a984eb7ae37afa348f058216d62a6d5f71640f4113a8114386c2a812a"
|
|
2150
2187
|
dependencies = [
|
|
2151
2188
|
"pastey",
|
|
2152
2189
|
"proc-macro2",
|
|
@@ -2157,9 +2194,9 @@ dependencies = [
|
|
|
2157
2194
|
|
|
2158
2195
|
[[package]]
|
|
2159
2196
|
name = "wincode-derive"
|
|
2160
|
-
version = "0.
|
|
2197
|
+
version = "0.5.0"
|
|
2161
2198
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2162
|
-
checksum = "
|
|
2199
|
+
checksum = "4cb427b174d0f50b407f003623db1d892986e780651ee9d4231f3c9fe9ffcbb7"
|
|
2163
2200
|
dependencies = [
|
|
2164
2201
|
"darling",
|
|
2165
2202
|
"proc-macro2",
|
|
@@ -2244,18 +2281,18 @@ dependencies = [
|
|
|
2244
2281
|
|
|
2245
2282
|
[[package]]
|
|
2246
2283
|
name = "zerocopy"
|
|
2247
|
-
version = "0.8.
|
|
2284
|
+
version = "0.8.55"
|
|
2248
2285
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2249
|
-
checksum = "
|
|
2286
|
+
checksum = "b5a105cd7b140f6eeec8acff2ea38135d3cab283ada58540f629fe51e46696eb"
|
|
2250
2287
|
dependencies = [
|
|
2251
2288
|
"zerocopy-derive",
|
|
2252
2289
|
]
|
|
2253
2290
|
|
|
2254
2291
|
[[package]]
|
|
2255
2292
|
name = "zerocopy-derive"
|
|
2256
|
-
version = "0.8.
|
|
2293
|
+
version = "0.8.55"
|
|
2257
2294
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2258
|
-
checksum = "
|
|
2295
|
+
checksum = "0fe976fb70c78cd64cccfe3a6fc142244e8a77b70959b30faf9d0ac37ee228eb"
|
|
2259
2296
|
dependencies = [
|
|
2260
2297
|
"proc-macro2",
|
|
2261
2298
|
"quote",
|
|
@@ -7,13 +7,13 @@ authors = ["Johan Larsson <johan@jolars.co>"]
|
|
|
7
7
|
|
|
8
8
|
[package]
|
|
9
9
|
name = "panache"
|
|
10
|
-
version = "3.0.
|
|
10
|
+
version = "3.0.1"
|
|
11
11
|
edition.workspace = true
|
|
12
12
|
# `distill_quarto_schema` is a dev-only vendoring bin (src/bin/); keep bare
|
|
13
13
|
# `cargo run` resolving to the CLI for tooling like the pre-commit format hook.
|
|
14
14
|
default-run = "panache"
|
|
15
15
|
readme = "README.md"
|
|
16
|
-
description = "
|
|
16
|
+
description = "Language server, formatter, and linter for Markdown, Quarto, and R Markdown"
|
|
17
17
|
license.workspace = true
|
|
18
18
|
repository.workspace = true
|
|
19
19
|
homepage = "https://panache.bz"
|
|
@@ -48,8 +48,8 @@ path = "src/main.rs"
|
|
|
48
48
|
required-features = ["cli"]
|
|
49
49
|
|
|
50
50
|
[dependencies]
|
|
51
|
-
panache-formatter = { path = "crates/panache-formatter", version = "0.20.
|
|
52
|
-
panache-parser = { path = "crates/panache-parser", version = "0.22.
|
|
51
|
+
panache-formatter = { path = "crates/panache-formatter", version = "0.20.1" }
|
|
52
|
+
panache-parser = { path = "crates/panache-parser", version = "0.22.1", features = [
|
|
53
53
|
"serde",
|
|
54
54
|
"schema",
|
|
55
55
|
] }
|
|
@@ -58,37 +58,37 @@ clap = { version = "4.6.1", features = ["derive", "env"], optional = true }
|
|
|
58
58
|
dirs = "6.0.0"
|
|
59
59
|
env_logger = "0.11.10"
|
|
60
60
|
emojis = "0.9.0"
|
|
61
|
-
flate2 = "1.
|
|
61
|
+
flate2 = "1.1.9"
|
|
62
62
|
crossbeam-channel = { version = "0.5.15", optional = true }
|
|
63
|
-
globset = "0.4"
|
|
64
|
-
ignore = { version = "0.4", optional = true }
|
|
63
|
+
globset = "0.4.19"
|
|
64
|
+
ignore = { version = "0.4.29", optional = true }
|
|
65
65
|
log = { version = "0.4.31", features = ["release_max_level_debug"] }
|
|
66
66
|
lsp-server = { version = "0.10.0", optional = true }
|
|
67
67
|
lsp-types = { version = "0.97.0", optional = true }
|
|
68
|
-
num_cpus = { version = "1.
|
|
68
|
+
num_cpus = { version = "1.17.0", optional = true }
|
|
69
69
|
percent-encoding = { version = "2.3.2", optional = true }
|
|
70
70
|
regex = "1.12.2"
|
|
71
71
|
rowan = "0.16.1"
|
|
72
72
|
salsa = "0.28.0"
|
|
73
73
|
serde = { version = "1.0.228", features = ["derive"] }
|
|
74
|
-
serde_json = "1.0"
|
|
75
|
-
schemars = "1.
|
|
76
|
-
wincode = { version = "0.
|
|
74
|
+
serde_json = "1.0.150"
|
|
75
|
+
schemars = "1.2.1"
|
|
76
|
+
wincode = { version = "0.6.0", features = ["derive"] }
|
|
77
77
|
similar = { version = "3.0.0", features = ["text"] }
|
|
78
|
-
tempfile = "3.
|
|
78
|
+
tempfile = "3.27.0"
|
|
79
79
|
toml = "1.1.2"
|
|
80
|
-
unicode-width = "0.2"
|
|
80
|
+
unicode-width = "0.2.2"
|
|
81
81
|
|
|
82
82
|
[dev-dependencies]
|
|
83
83
|
similar-asserts = "2.0.0"
|
|
84
84
|
insta = { version = "1.47.2", features = ["json"] }
|
|
85
|
-
assert_cmd = "2.
|
|
86
|
-
predicates = "3.
|
|
87
|
-
jsonschema = { version = "0.
|
|
85
|
+
assert_cmd = "2.2.2"
|
|
86
|
+
predicates = "3.1.4"
|
|
87
|
+
jsonschema = { version = "0.48.5", default-features = false }
|
|
88
88
|
|
|
89
89
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
90
90
|
rayon = "1.10.0"
|
|
91
|
-
which = "8.0"
|
|
91
|
+
which = "8.0.5"
|
|
92
92
|
uuid = { version = "1.23.0", features = ["v4"] }
|
|
93
93
|
|
|
94
94
|
[features]
|
|
@@ -107,7 +107,7 @@ clap = { version = "4.6.1", features = ["derive", "env"] }
|
|
|
107
107
|
clap_complete = "4.6.0"
|
|
108
108
|
clap_mangen = "0.3.0"
|
|
109
109
|
clap-markdown = "0.1.5"
|
|
110
|
-
flate2 = "1.
|
|
110
|
+
flate2 = "1.1.9"
|
|
111
111
|
|
|
112
112
|
[package.metadata.deb]
|
|
113
113
|
maintainer = "Johan Larsson <johan@jolars.co>"
|
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.20.1](https://github.com/jolars/panache/compare/panache-formatter-v0.20.0...panache-formatter-v0.20.1) (2026-07-25)
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
- **parser:** emit simple table closer as separator ([`0db2620`](https://github.com/jolars/panache/commit/0db2620eb1e34ac86c7e2c0eae070f4d9f39be30))
|
|
7
|
+
- **formatter:** guard heading markers in reflow wrap ([`ad8b1a0`](https://github.com/jolars/panache/commit/ad8b1a01278510188faeff0e14e9d8b77b030a91))
|
|
8
|
+
- **parser:** track display math inside list items ([`6708303`](https://github.com/jolars/panache/commit/67083031fa8f89429510ae5164b22c9ffc769152))
|
|
9
|
+
- **parser:** track bracket display math across lines ([`cb6b70b`](https://github.com/jolars/panache/commit/cb6b70b55c25036415e29dfc4ab27c8e8c2c3f98)), closes [#437](https://github.com/jolars/panache/issues/437)
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
- updated crates/panache-parser to v0.22.1
|
|
13
|
+
|
|
3
14
|
## [0.20.0](https://github.com/jolars/panache/compare/panache-formatter-v0.19.0...panache-formatter-v0.20.0) (2026-07-20)
|
|
4
15
|
|
|
5
16
|
### Breaking changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "panache-formatter"
|
|
3
|
-
version = "0.20.
|
|
3
|
+
version = "0.20.1"
|
|
4
4
|
edition.workspace = true
|
|
5
5
|
include = [
|
|
6
6
|
"/src/**/*",
|
|
@@ -18,12 +18,12 @@ keywords = ["quarto", "pandoc", "markdown", "formatter"]
|
|
|
18
18
|
categories = ["text-processing"]
|
|
19
19
|
|
|
20
20
|
[dependencies]
|
|
21
|
-
panache-parser = { path = "../panache-parser", version = "0.22.
|
|
21
|
+
panache-parser = { path = "../panache-parser", version = "0.22.1" }
|
|
22
22
|
log = { version = "0.4.31", features = ["release_max_level_debug"] }
|
|
23
23
|
rowan = "0.16.1"
|
|
24
|
-
serde = { version = "1.0", features = ["derive"], optional = true }
|
|
25
|
-
schemars = { version = "1.
|
|
26
|
-
unicode-width = "0.2"
|
|
24
|
+
serde = { version = "1.0.228", features = ["derive"], optional = true }
|
|
25
|
+
schemars = { version = "1.2.1", optional = true }
|
|
26
|
+
unicode-width = "0.2.2"
|
|
27
27
|
|
|
28
28
|
[features]
|
|
29
29
|
default = []
|
|
@@ -31,7 +31,7 @@ serde = ["dep:serde", "panache-parser/serde"]
|
|
|
31
31
|
schema = ["serde", "dep:schemars", "panache-parser/schema"]
|
|
32
32
|
|
|
33
33
|
[dev-dependencies]
|
|
34
|
-
serde_json = "1.0"
|
|
34
|
+
serde_json = "1.0.150"
|
|
35
35
|
insta = { version = "1.47.2", features = ["json"] }
|
|
36
36
|
# TEMPORARY: cross-validation oracle only (tests/yaml_cross_validation.rs).
|
|
37
37
|
# The in-tree formatter is the source of truth. Drop this dep (and re-base
|
{panache_cli-3.0.0 → panache_cli-3.0.1}/crates/panache-formatter/src/formatter/inline_layout.rs
RENAMED
|
@@ -241,8 +241,8 @@ pub(super) struct NodeWrapOptions<'a> {
|
|
|
241
241
|
pub avoid_unsafe_line_start: bool,
|
|
242
242
|
pub avoid_blockquote_line_start: bool,
|
|
243
243
|
/// Avoid starting a wrapped line with an ATX heading (`#`) or setext/thematic
|
|
244
|
-
/// (`---`/`===`) marker. Set by
|
|
245
|
-
///
|
|
244
|
+
/// (`---`/`===`) marker. Set by every mode: a `=`/`-` run pushed to its own
|
|
245
|
+
/// line promotes the paragraph into a setext heading in every flavor.
|
|
246
246
|
pub avoid_heading_line_start: bool,
|
|
247
247
|
/// Force a line break at every existing soft break (`NEWLINE`) in addition
|
|
248
248
|
/// to the breaks `mode` produces. Set by the `Semantic` wrap mode, which
|
|
@@ -252,6 +252,10 @@ pub(super) struct NodeWrapOptions<'a> {
|
|
|
252
252
|
|
|
253
253
|
impl<'a> NodeWrapOptions<'a> {
|
|
254
254
|
pub(super) fn reflow(widths: &'a [usize]) -> Self {
|
|
255
|
+
// Unlike the flavor-gated list/blockquote guards, the heading guard is
|
|
256
|
+
// unconditional: a `=`/`-` run at a line start turns the paragraph
|
|
257
|
+
// into a setext heading even under `blank-before-header`, so a width
|
|
258
|
+
// break before one is never safe in any flavor.
|
|
255
259
|
Self {
|
|
256
260
|
widths,
|
|
257
261
|
mode: NodeWrapMode::Reflow,
|
|
@@ -259,7 +263,7 @@ impl<'a> NodeWrapOptions<'a> {
|
|
|
259
263
|
strip_standalone_blockquote_markers: false,
|
|
260
264
|
avoid_unsafe_line_start: false,
|
|
261
265
|
avoid_blockquote_line_start: false,
|
|
262
|
-
avoid_heading_line_start:
|
|
266
|
+
avoid_heading_line_start: true,
|
|
263
267
|
preserve_newlines: false,
|
|
264
268
|
}
|
|
265
269
|
}
|
|
@@ -1764,10 +1764,15 @@ fn extract_simple_table_data(node: &SyntaxNode, config: &Config) -> TableData {
|
|
|
1764
1764
|
}
|
|
1765
1765
|
}
|
|
1766
1766
|
SyntaxKind::TABLE_SEPARATOR => {
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
//
|
|
1770
|
-
columns
|
|
1767
|
+
// Only the opening separator defines the column geometry; the
|
|
1768
|
+
// closing dash line of a table with a closer is a second
|
|
1769
|
+
// TABLE_SEPARATOR child and must not clobber it.
|
|
1770
|
+
if columns.is_empty() {
|
|
1771
|
+
separator_line = child.text().to_string();
|
|
1772
|
+
|
|
1773
|
+
// Extract column positions
|
|
1774
|
+
columns = extract_simple_table_columns(&child);
|
|
1775
|
+
}
|
|
1771
1776
|
}
|
|
1772
1777
|
SyntaxKind::TABLE_HEADER => {
|
|
1773
1778
|
// Always preserve RAW text for alignment detection
|
|
@@ -1785,45 +1790,22 @@ fn extract_simple_table_data(node: &SyntaxNode, config: &Config) -> TableData {
|
|
|
1785
1790
|
SyntaxKind::TABLE_ROW => {
|
|
1786
1791
|
// Data rows come after separator
|
|
1787
1792
|
if !columns.is_empty() {
|
|
1788
|
-
// Remember the first
|
|
1789
|
-
// alignment detection.
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
let row_is_separator = raw_row
|
|
1793
|
-
.trim()
|
|
1794
|
-
.chars()
|
|
1795
|
-
.all(|c| c == '-' || c.is_whitespace());
|
|
1796
|
-
if !row_is_separator && first_data_row_line.is_none() {
|
|
1797
|
-
first_data_row_line = Some(raw_row);
|
|
1793
|
+
// Remember the first data row's raw text for headerless
|
|
1794
|
+
// alignment detection.
|
|
1795
|
+
if first_data_row_line.is_none() {
|
|
1796
|
+
first_data_row_line = Some(child.text().to_string());
|
|
1798
1797
|
}
|
|
1799
1798
|
|
|
1800
1799
|
// Try to extract from TABLE_CELL nodes first
|
|
1801
1800
|
let cells = extract_row_cells(&child, config);
|
|
1802
1801
|
|
|
1803
1802
|
if !cells.is_empty() {
|
|
1804
|
-
|
|
1805
|
-
let is_separator = cells
|
|
1806
|
-
.iter()
|
|
1807
|
-
.all(|cell| cell.trim().chars().all(|c| c == '-'));
|
|
1808
|
-
|
|
1809
|
-
if !is_separator {
|
|
1810
|
-
// Successfully extracted from TABLE_CELL nodes
|
|
1811
|
-
rows.push(cells);
|
|
1812
|
-
}
|
|
1803
|
+
rows.push(cells);
|
|
1813
1804
|
} else {
|
|
1814
1805
|
// Fall back to old approach (for backwards compatibility)
|
|
1815
1806
|
let row_content = format_cell_content(&child, config);
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
let is_separator = row_content
|
|
1819
|
-
.trim()
|
|
1820
|
-
.chars()
|
|
1821
|
-
.all(|c| c == '-' || c.is_whitespace());
|
|
1822
|
-
|
|
1823
|
-
if !is_separator {
|
|
1824
|
-
let cells = split_simple_table_row(&row_content, &columns);
|
|
1825
|
-
rows.push(cells);
|
|
1826
|
-
}
|
|
1807
|
+
let cells = split_simple_table_row(&row_content, &columns);
|
|
1808
|
+
rows.push(cells);
|
|
1827
1809
|
}
|
|
1828
1810
|
}
|
|
1829
1811
|
}
|
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.22.1](https://github.com/jolars/panache/compare/panache-parser-v0.22.0...panache-parser-v0.22.1) (2026-07-25)
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
- **parser:** reject simple tables with only a closer ([`b926900`](https://github.com/jolars/panache/commit/b9269008989d63edc3b406d587252c710f43a5e8))
|
|
7
|
+
- **parser:** emit simple table closer as separator ([`0db2620`](https://github.com/jolars/panache/commit/0db2620eb1e34ac86c7e2c0eae070f4d9f39be30))
|
|
8
|
+
- **parser:** require closer for headerless simple tables ([`83dd8c5`](https://github.com/jolars/panache/commit/83dd8c526325cab3a33caba9da6a01b3a16ad330))
|
|
9
|
+
- **parser:** accept 2-dash multiline table borders ([`9be4e59`](https://github.com/jolars/panache/commit/9be4e597c4d45b4ccfc62e79e7df1852d8472d37))
|
|
10
|
+
- **parser:** detect headerless single-column multiline tables ([`a573220`](https://github.com/jolars/panache/commit/a57322065d8ff3b26bde55c990f728a56a42aab7))
|
|
11
|
+
- **parser:** track display math inside list items ([`6708303`](https://github.com/jolars/panache/commit/67083031fa8f89429510ae5164b22c9ffc769152))
|
|
12
|
+
- **parser:** track bracket display math across lines ([`cb6b70b`](https://github.com/jolars/panache/commit/cb6b70b55c25036415e29dfc4ab27c8e8c2c3f98)), closes [#437](https://github.com/jolars/panache/issues/437)
|
|
13
|
+
- **parser:** skip link destinations in citation scan ([`46d2201`](https://github.com/jolars/panache/commit/46d220132e53a52dd164b291f360f9e979a765c9))
|
|
14
|
+
|
|
3
15
|
## [0.22.0](https://github.com/jolars/panache/compare/panache-parser-v0.21.0...panache-parser-v0.22.0) (2026-07-20)
|
|
4
16
|
|
|
5
17
|
### Breaking changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "panache-parser"
|
|
3
|
-
version = "0.22.
|
|
3
|
+
version = "0.22.1"
|
|
4
4
|
edition.workspace = true
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
include = [
|
|
@@ -22,12 +22,12 @@ authors.workspace = true
|
|
|
22
22
|
entities = "1.0.2-rc.1"
|
|
23
23
|
rowan = "0.16.1"
|
|
24
24
|
serde = { version = "1.0.228", features = ["derive"], optional = true }
|
|
25
|
-
serde_json = "1.0"
|
|
26
|
-
schemars = { version = "1.
|
|
25
|
+
serde_json = "1.0.150"
|
|
26
|
+
schemars = { version = "1.2.1", optional = true }
|
|
27
27
|
log = { version = "0.4.31", features = ["release_max_level_debug"] }
|
|
28
|
-
memchr = "2"
|
|
29
|
-
smallvec = "1"
|
|
30
|
-
unicode-width = "0.2"
|
|
28
|
+
memchr = "2.8.3"
|
|
29
|
+
smallvec = "1.15.2"
|
|
30
|
+
unicode-width = "0.2.2"
|
|
31
31
|
|
|
32
32
|
[features]
|
|
33
33
|
default = []
|
|
@@ -2823,21 +2823,12 @@ fn simple_table(node: &SyntaxNode) -> Option<TableData> {
|
|
|
2823
2823
|
let header = node
|
|
2824
2824
|
.children()
|
|
2825
2825
|
.find(|c| c.kind() == SyntaxKind::TABLE_HEADER);
|
|
2826
|
-
// Body rows: every TABLE_ROW.
|
|
2827
|
-
//
|
|
2828
|
-
|
|
2829
|
-
let mut body_rows_nodes: Vec<SyntaxNode> = node
|
|
2826
|
+
// Body rows: every TABLE_ROW. The closing dash line of a table with a
|
|
2827
|
+
// closer is a second TABLE_SEPARATOR child, so no filtering is needed.
|
|
2828
|
+
let body_rows_nodes: Vec<SyntaxNode> = node
|
|
2830
2829
|
.children()
|
|
2831
2830
|
.filter(|c| c.kind() == SyntaxKind::TABLE_ROW)
|
|
2832
2831
|
.collect();
|
|
2833
|
-
if header.is_none()
|
|
2834
|
-
&& body_rows_nodes
|
|
2835
|
-
.last()
|
|
2836
|
-
.map(simple_table_row_is_all_dashes)
|
|
2837
|
-
.unwrap_or(false)
|
|
2838
|
-
{
|
|
2839
|
-
body_rows_nodes.pop();
|
|
2840
|
-
}
|
|
2841
2832
|
// Alignment: from header if present, else from the first data row.
|
|
2842
2833
|
let aligns = if let Some(h) = &header {
|
|
2843
2834
|
simple_table_aligns(h, &cols)
|
|
@@ -2899,25 +2890,6 @@ fn simple_table_row_cells(row: &SyntaxNode) -> Vec<Vec<Inline>> {
|
|
|
2899
2890
|
.collect()
|
|
2900
2891
|
}
|
|
2901
2892
|
|
|
2902
|
-
fn simple_table_row_is_all_dashes(row: &SyntaxNode) -> bool {
|
|
2903
|
-
let mut had_cell = false;
|
|
2904
|
-
for cell in row
|
|
2905
|
-
.children()
|
|
2906
|
-
.filter(|c| c.kind() == SyntaxKind::TABLE_CELL)
|
|
2907
|
-
{
|
|
2908
|
-
let text = cell.text().to_string();
|
|
2909
|
-
let trimmed = text.trim();
|
|
2910
|
-
if trimmed.is_empty() {
|
|
2911
|
-
continue;
|
|
2912
|
-
}
|
|
2913
|
-
had_cell = true;
|
|
2914
|
-
if !trimmed.chars().all(|c| c == '-') {
|
|
2915
|
-
return false;
|
|
2916
|
-
}
|
|
2917
|
-
}
|
|
2918
|
-
had_cell
|
|
2919
|
-
}
|
|
2920
|
-
|
|
2921
2893
|
/// Derive alignments for a simple-table header (or first data row) by
|
|
2922
2894
|
/// comparing each cell's *visible* (whitespace-trimmed) column range to
|
|
2923
2895
|
/// the corresponding dash run. Multiline-table TABLE_CELL nodes include
|
|
@@ -1864,7 +1864,7 @@ fn finish_list_item_with_optional_nested(
|
|
|
1864
1864
|
let marker_only = text_to_buffer.trim().is_empty();
|
|
1865
1865
|
let mut buffer = ListItemBuffer::new();
|
|
1866
1866
|
if !text_to_buffer.is_empty() {
|
|
1867
|
-
buffer.push_text(text_to_buffer);
|
|
1867
|
+
buffer.push_text(text_to_buffer, config);
|
|
1868
1868
|
}
|
|
1869
1869
|
containers.push(Container::ListItem {
|
|
1870
1870
|
content_col,
|