equal
deleted
inserted
replaced
593 |
593 |
594 raw = evalstring(context, mapping, args[0]) |
594 raw = evalstring(context, mapping, args[0]) |
595 ctx = mapping['ctx'] |
595 ctx = mapping['ctx'] |
596 m = ctx.match([raw]) |
596 m = ctx.match([raw]) |
597 files = list(ctx.matches(m)) |
597 files = list(ctx.matches(m)) |
598 return templatekw.showlist("file", files, **mapping) |
598 return templatekw.showlist("file", files, mapping) |
599 |
599 |
600 @templatefunc('fill(text[, width[, initialident[, hangindent]]])') |
600 @templatefunc('fill(text[, width[, initialident[, hangindent]]])') |
601 def fill(context, mapping, args): |
601 def fill(context, mapping, args): |
602 """Fill many |
602 """Fill many |
603 paragraphs with optional indentation. See the "fill" filter.""" |
603 paragraphs with optional indentation. See the "fill" filter.""" |