On Tue, Jun 19, 2018 at 11:55:35AM +0800, Andy Green wrote:
>
>
> On 06/19/2018 03:21 AM, John Keeping wrote:
> > On Mon, Jun 18, 2018 at 10:58:26AM +0800, Andy Green wrote:
>
> >> class AssetMappingExtension(markdown.extensions.Extension):
> >>
> >> def __init__(self, **kwargs):
> >>
On 06/19/2018 03:21 AM, John Keeping wrote:
On Mon, Jun 18, 2018 at 10:58:26AM +0800, Andy Green wrote:
class AssetMappingExtension(markdown.extensions.Extension):
def __init__(self, **kwargs):
-self.config = {'asset_prefix': ['', 'prefix for relative asset URLs']}
+
On Mon, Jun 18, 2018 at 10:58:26AM +0800, Andy Green wrote:
> Extend md2html with a third argument for URL postfix, like "?h=mybranch"
>
> Signed-off-by: Andy Green
> ---
> filters/html-converters/md2html | 17 +++--
> 1 file changed, 11 insertions(+), 6 deletions(-)
>
> diff --gi
Extend md2html with a third argument for URL postfix, like "?h=mybranch"
Signed-off-by: Andy Green
---
filters/html-converters/md2html | 17 +++--
1 file changed, 11 insertions(+), 6 deletions(-)
diff --git a/filters/html-converters/md2html b/filters/html-converters/md2html
index