Skip to content

Instantly share code, notes, and snippets.

@ghoulmann
ghoulmann / sed-replace-markdown-links
Created June 24, 2022 11:35 — forked from mdonkers/sed-replace-markdown-links
sed command to replace Markdown style links with HTML links, opening in separate tab
#!/bin/bash
# enable mod_ext_filter
a2enmod ext_filter
# create temp config file
cat <<EOF > /tmp/haml_sass
# For HAML & SASS (http://d.hatena.ne.jp/ursm/20080923/1222195693)
LoadModule ext_filter_module libexec/apache2/mod_ext_filter.so