posty.renderer.util module


Returns a markdown filter function that returns an absolute URL for the given relative URL, simply concatenating config[‘base_url’] with the URL.


Returns the rendered version of the given Markdown text


Returns a filter function that returns a full media URL for the given file, scoped to the given Site object.

For example, if the Site has its base_url set to ‘/foo/’ then: img/my_picture.jpg -> /foo/media/img/my_picture.jpg