-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
#!/bin/bash # md2clip # copy stdin markdown to clipboard rich-text (text/html) { echo '---' echo 'title:' echo 'header-includes: ' echo '---' cat } | pandoc -f markdown -s -t html --quiet | \ sed '//d' | \ xclip -i -selection clipboard -t text/html
And the inverse
#!/bin/bash # clip2md # copy clipboard rich-text to stdout markdown xclip -o -selection clipboard -t text/html | \ pandoc -f html -t markdown | \ sed -r 's/^- /\* /; s/^ - / - /;'
I have mappings in neovim to use these.
nnoremap y :'<,'> !md2clip nnoremap p :r !clip2md
I'd like to refine this someday to automatically do the above as a neovim clipboard provider.
it doesn't seem like they've implemented it, although I really would love to get it working, because I love the fidgety-ness of it.