mirror of
https://github.com/vale981/tridactyl
synced 2025-03-04 17:11:40 -05:00
Add small script for generation of AMO text
This commit is contained in:
parent
d84968e54c
commit
f10a3a02de
1 changed files with 6 additions and 0 deletions
6
scripts/amo_text_to_clipboard.sh
Executable file
6
scripts/amo_text_to_clipboard.sh
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Put the AMO flavour text in your clipboard for easy pasting.
|
||||
# AMO doesn't support all HTML in markdown so we strip it out.
|
||||
|
||||
marked doc/amo.md | sed -r "s/<.?p>//g" | sed -r "s/<.?h.*>//g" | xclip -selection "clipboard"
|
Loading…
Add table
Reference in a new issue