CitationStyleLinks, OmitTableNodes options#32
CitationStyleLinks, OmitTableNodes options#32adtac wants to merge 3 commits intojaytaylor:masterfrom
Conversation
|
Hi @adtac, Thank you for your contribution. Before it can be merged, please consider the following feedback:
Thank you! |
|
Just to have some context that there's a table there in the html version. To make sure they know it's there. Usually, tables follow some normal text with references to the table, so it might be confusing to the reader if there's a reference to a table that can't be found. Thanks for the feedback, I'll amend my commits and re-push soon. |
|
Thanks for explaining. Two additional things, once resolved I'll gladly merge:
https://travis-ci.org/jaytaylor/html2text/jobs/494601746#L509-L519 Will you please look into how this is possible and resolve it? |
|
One more small change: Change the comment for OmitTables to: |
|
One idea which would be cool (and is certainly not necessary for this PR) would be to make the skipping dynamic and allow an array of HTML element types to be passed for which rendering would be skipped or have |
Citation Style Links
Example:
Output:
Omit Table Nodes
Just like the
OmitLinksoption, but for tables. Inserts a "[Table]" text in the place of the table.