$ python musikui.py -i sample_input.md -o sample_output.md
- Python 3.6+
No easy configable interface yet. Please edit the source directly.
def musikui_string(s):
import re
pattern = r'([^\s#\-\[\]\(\)!`\+\|\.\,\:].){1}([^\s#\-\[\]\(\)!`\+\|\.\,\:].){1}'
after = r'@@\2'
new = re.sub(pattern, after, s)
return new