add table support#9
Merged
kapouer merged 5 commits intokapouer:masterfrom Dec 8, 2016
Merged
Conversation
added 3 commits
December 8, 2016 16:57
only gfm table support, I don't read all your source code, but it work.
a table in tbl macro look like:
.TS
\" default tab symbol is \t,
\" you can use tab() command change it.
\" `;` is needed to end tbl command.
tab(|);
\" tell tbl how many column do table have.
l l l l.
\" table content.
c11 | c12 | c13 | c14
c21 | c22 | c23 | c24
.TE
use table border, not cell border or row border. add horizantel line after table header.
Owner
|
Thank you, could you add a |
added 2 commits
December 8, 2016 21:11
deal inline style in table.
use text block to auto wrap text in cell:
T{
long text...
will be wrap.
...
}T
1. large table 2. long text table 3. thing table (this format ugly...)
Contributor
Author
|
ok,
|
Owner
|
Thank you, i'll have a more thorough look at it later today, and will publish asap. |
Contributor
Author
|
about table in troff:
|
Owner
|
Thanks i had troubles finding this documentation :) |
iarna
added a commit
to npm/npm
that referenced
this pull request
Dec 15, 2016
Add table support. Credit: @GHolk PR-URL: kapouer/marked-man#9
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
only gfm table support.
I do not read all code, so maybe some bug. Fixes: #8.
TODO: