Skip to content

Add other formats? #8

@ickc

Description

@ickc

Currently, pantable support to and from CSV.

Potentially, other table formats could be supported:

  • .xlsx: this one will be useful but difficult:
    • Ideally, one would want to read/write .xlsx just like how pandoc read/write .docx. But there's seems no good cli to convert between .docx and .xlsx (to pass the .docx to pandoc).
    • So one might allow "markdown syntax" in .xlsx, which might works just like the current .csv but seems counterintuitive (people expect rich formatting in Excel).
    • Or find a tool to convert .xlsx to .html to pass the .html to pandoc (quite lossy though).
    • And then this' a question of what if people want to intermix rich text and markdown syntax (e.g. for LaTeX equation).
  • HTML: if someone find writing the source table in HTML easier, say when it is a big table, but want to output to other formats as well
  • YAML (table representing general YAML is not ideal, I'm thinking more like 2 column tables to show the key-value pairs)
  • JSON (similar to above)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions