Thanks! That was really easy. Here's the code for anyone else who wants this. I'm doing it the (really) quick and dirty way since I don't want to get into real parsing:
========== _filters/absimg.py ========
import re
import blogofile_bf as bf
abs_img = re.compile(r"""(?P<img><img src=["'])/""", re.DOTALL)
def run(src):
return abs_img.sub(r'\1' + bf.config.site.url + '/', src)
========== _config.py ================
blog.post.default_filters = {
"markdown": "markdown, syntax_highlight, absimg",
"html": "syntax_highlight, absimg"
}