Code Monkey home page Code Monkey logo

gridtables's People

Contributors

tarleb avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

laurentrdc

gridtables's Issues

Problem with combining characters

The following table

+-----------+-------+
| a         | back  |
+===========+=======+
| ø̞         | o̞     |
+-----------+-------+

gets parsed as having rowspans:

ArrayTable {arrayTableCells = array ((1,1),(2,2)) [((1,1),ContentCell 2 1 [" a         ","==========="," \248\798         "]),((1,2),ContentCell 2 1 [" back  ","======="," o\798     "]),((2,1),ContinuationCell (1,1)),((2,2),ContinuationCell (1,2))], arrayTableHead = Nothing, arrayTableFoot = Nothing, arrayTableColSpecs = array (1,2) [(1,(AlignDefault,11)),(2,(AlignDefault,7))]

Replacing the accented characters (formed with combining accents) with regular ascii letters makes the problem go away, so I assume it has to do with character width calculations.

Originally jgm/pandoc#9145.

Handle alignment specifiers that span multiple columns

Column alignments are not calculated correctly in tables like

+:---------:+
| Col 1 & 2 |
+-----+-----+
| foo | bar |
+-----+-----+

All columns spanned by a column with alignment information should share that alignment. Currently only the first column gets the right alignment.

Extend README

Describe:

  • scope of this package
  • algorithm used
  • example use

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.