pffy / markdown-table Goto Github PK
View Code? Open in Web Editor NEWExport Markdown tables from Google Sheets with this editor add-on (Cotton Markdown Tables)
License: The Unlicense
Export Markdown tables from Google Sheets with this editor add-on (Cotton Markdown Tables)
License: The Unlicense
Using the canonical YouTube watch URL:
https://www.youtube.com/watch?v=[VIDEO_ID]
Adding double brackets to each side:
<<https://www.youtube.com/watch?v=[VIDEO_ID]>>
generates a linked YouTube thumbnail during Markdown table conversion:
[![TEXT_HERE](YOUTUBE_IMAGE_URL "TEXT_HERE")](YOUTUBE_WATCH_URL)
support may include:
=HYPERLINK("https://url")
=HYPERLINK(A1)
=HYPERLINK("https://url" & A1)
=HYPERLINK("https://url","text")
=HYPERLINK(A1,A1)
=HYPERLINK(A1,"text" & A1)
When certain characters start a Markdown table sequence, GitHub attempts to render the table sequence as another HTML element. The following table provides results of a pass/fail test that placed items from an enumerated list of punctuation characters at the beginning of a Markdown table sequence.
in other words, the new line feed \n
should be converted to line break <br/>
HTML tag, for multi-line support for Markdown table cells
I wanted to try this out, but Google says it's not verified.
when the text is not hyperlinked, it is possible to underline the text
with the implementation of the classes TextStyle
and RichTextValue
the following are no longer needed:
Range.getFontWeights()
Range.getFontStyles()
Range.getFontLines()
There is a "class of features" for add-ons that depend on spreadsheet formulas (e.g., =HYPERLINK()
, =IMAGE()
, etc.). The behavior of these formulas depend on spreadsheet locale (language and location).
Before we add these type of features that depend on spreadsheet cell formulas, this Markdown table add-on should be (somewhat) localized.
Localization requires a better understanding for each implemented locale. For example, functions either use a COMMA or SEMICOLON as function parameter delimiters.
Test data available here: pffy/udon#1
about.html to be removed.
references to opening the about box in ui.gs to be removed.
there is a discussion and possible solution about formatting the checkbox within the Markdown table here:
https://stackoverflow.com/a/47344640
todo-list functionality is not important right now
A cell that contains only a number and has a hyperlink loses the link when exported. For example, I would expect a cell with 3.1415 linked to the Wikipedia page for pi to export as:
|Value|
|--: |
|[3.1415](https://en.wikipedia.org/wiki/Pi)|
but instead it produces
|Value|
|--: |
|3.1415|
In contrast, hyperlinked text exports correctly.
Include the product name, the product web site, as well as support for line breaks (multi-line cells) and column alignments.
Editor | Website | Supports line breaks |
Supports alignments |
---|---|---|---|
derp | derp | [X] |
[ ] |
derp | derp | [X] |
[X] |
derp | derp | [X] |
[X] |
Current list:
'anonymous pro',
'b612 mono',
'courier',
'courier new',
'courier prime',
'cousine',
'cutive mono',
'dm mono',
'droid sans mono',
'fira code',
'fira mono',
'ibm plex mono',
'inconsolata',
'major mono display',
'monospace',
'nanum gothic coding',
'nova mono',
'overpass mono',
'oxygen mono',
'pt mono',
'roboto mono',
'share tech mono',
'space mono',
'source code pro',
'ubuntu mono',
'vt323'
add superscript reference 1 next to Markdown table cell contents, and (in turn) list those references below the completed table in a list of footnotes
support may include:
=IMAGE("https://url")
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.