Skip to content

Spec/Tables: Support Data Formats (CSV / TSV / DSV) and File Data Loading #114

Description

@webmaven

Description

Support table data format specifiers (format=csv, format=tsv, format=dsv, [csv], [dsv]) and external delimited data loading in table blocks.

Specification Reference

Proposed Changes

  • Tests (TDD):
    • Add unit tests in tests/test_blocks_parsing.py and tests/test_tables.py.
    • Add local TCK fixtures under tests/tck_harness/tests/block/table/.
  • Implementation:
    • In src/asciidoctrine/transformers/block_transformer.py, detect data format attribute on tables and parse delimited cell lines into TableRow and TableCell AST nodes using Python's csv module / delimiter parser.
    • Update docutils_backend.py to render formatted data tables.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestspecRequired by the AsciiDoc specification

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions