JoelCourtney / mdbook-kroki-preprocessor

Render Kroki diagrams from files or code blocks in mdbook
GNU General Public License v3.0
11 stars 7 forks source link

Table renderer is broken #5

Closed GTrunSec closed 2 years ago

GTrunSec commented 2 years ago

|  Target                       | std |rustc|cargo| notes                      |
|-------------------------------|-----|-----|-----|----------------------------|
| `x86_64-unknown-linux-musl`   |  ✓  |     |     | 64-bit Linux with MUSL     |
| `arm-linux-androideabi`       |  ✓  |     |     | ARM Android                |
| `arm-unknown-linux-gnueabi`   |  ✓  |  ✓  |     | ARM Linux (2.6.18+)        |
| `arm-unknown-linux-gnueabihf` |  ✓  |  ✓  |     | ARM Linux (2.6.18+)        |
| `aarch64-unknown-linux-gnu`   |  ✓  |     |     | ARM64 Linux (2.6.18+)      |
| `mips-unknown-linux-gnu`      |  ✓  |     |     | MIPS Linux (2.6.18+)       |
| `mipsel-unknown-linux-gnu`    |  ✓  |     |     | MIPS (LE) Linux (2.6.18+)  |
JoelCourtney commented 2 years ago

Interesting, not sure why this is happening. I probably won't be able to investigate and get a fix until around Tuesday. Thanks for reporting!

JoelCourtney commented 2 years ago

This was actually a problem with pulldown_cmark and pulldown_cmark_to_cmark not recognizing some formatting styles for tables. I've enabled all extra options in pulldown_cmark and it now recognizes all tables. Version 0.1.1 is now available on crates.io. Thanks!

GTrunSec commented 2 years ago

Good job, thanks.