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

MACRO to "Render" TSV examples as a TABLE but tab-separated if copy/pasted #1757

Open
yarikoptic opened this issue Mar 30, 2024 · 1 comment
Labels
formatting Aesthetics and formatting of the spec

Comments

@yarikoptic
Copy link
Collaborator

yarikoptic commented Mar 30, 2024

Your idea

Pretty much an alternative to

Here is an example which we came up with chatgpt: http://www.oneukrainian.com/tmp/tabs-demo.html . Try to copy/paste ;)

CSS styling could be adjusted so it is all tight and no borders etc, so just looks like a table of text. The point is to address the shortcoming that now we need to indent TSV examples with spaces for "nice looking" rendering.

Concern originated

Edit 1:
here is a better styled example: http://www.oneukrainian.com/tmp/tabs-demo2.html . The "tricky" behavior I see. Whenever I just select on my linux laptop, which automagically copies to clipboard, I have desired part as tsv. When I click "ctrl-c" as to copy into clipboard explicitly - I seem to get the full table. Could be treated as a feature ;)

Not sure yet what should be done for PDF -- probably just a note added ;-)

@Remi-Gau
Copy link
Collaborator

@Remi-Gau Remi-Gau added the formatting Aesthetics and formatting of the spec label Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
formatting Aesthetics and formatting of the spec
Projects
Status: In Progress
Development

No branches or pull requests

2 participants