Add small script for generation of AMO text

This commit is contained in:
Oliver Blanthorn 2018-04-11 17:12:06 +01:00
parent d84968e54c
commit f10a3a02de
No known key found for this signature in database
GPG key ID: 2BB8C36BB504BFF3

View 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"