-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add a horizontal line under the heading line #1
Comments
I'm not an expert in
which basically renders the second Is this what you want? |
Yes. If you look at section 8.9.4 Extension: grid_tables on this page https://pandoc.org/chunkedhtml-demo/8.9-tables.html you'll see the same thing in their example. What it does is make sure there's a horizontal line under the heading row when it gets rendered. |
With the new release, you may run tabulate -Lgrid table.txt to produce the table you want. See more in README. |
This is a great script, thanks! Since the horizontal lines are all created as dashes, the markdown table is rendered without a horizontal line under it. It would be nice if you had the option to create the table with equal signs instead.
In the meantime, this command will do it:
sed -i 'N;/^[^-]*-/{n;s/-/=/g;:a;n;ba};P;D' table.md
:)
The text was updated successfully, but these errors were encountered: