Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NFC] Format tables for better preview in github and vscode. #163

Merged
merged 9 commits into from
Jan 23, 2024

Conversation

darthscsi
Copy link
Collaborator

@darthscsi darthscsi commented Jan 23, 2024

Change to a table implementation which github and vscode understand.
Doesn't change generated pdf.

@darthscsi darthscsi changed the title [NFC] Change table to an implementation which github and vscode understand. [NFC] Format as gfm for better preview in github and vscode. Jan 23, 2024
@darthscsi darthscsi changed the title [NFC] Format as gfm for better preview in github and vscode. [NFC] Format tables for better preview in github and vscode. Jan 23, 2024
@seldridge
Copy link
Member

Format actually appears to be unstable and not just converging to a fixed point. 🧐 I'm confirming this on my end.

Copy link
Member

@seldridge seldridge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a nice improvement!

I'm not seeing any instability in the formatting on 3.11.1.1. I thought I saw some on 3.1.8. However, I now upgraded and can't easily downgrade.

What version of pandoc are you using? (pandoc --version) If you are on 3.11.1.1, can you add a commit that bumps the version here:

wget https://github.com/jgm/pandoc/releases/download/3.1.8/pandoc-3.1.8-linux-amd64.tar.gz -O - | tar -zx -C usr/bin --strip-components 2
wget https://github.com/lierdakil/pandoc-crossref/releases/download/v0.3.17.0/pandoc-crossref-Linux.tar.xz -O - | tar -Jx -C usr/bin

If you are on 3.1.8, then no need to change anything.

@darthscsi darthscsi merged commit 85e2337 into main Jan 23, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants