List for cgit developers and users
 help / color / mirror / Atom feed
* [PATCH] match other common markdown file extensions
@ 2014-07-17 13:44 chris.burroughs
  2014-07-30 21:21 ` chris.burroughs
  2014-12-24  2:10 ` Jason
  0 siblings, 2 replies; 4+ messages in thread
From: chris.burroughs @ 2014-07-17 13:44 UTC (permalink / raw)


---
 filters/about-formatting.sh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/filters/about-formatting.sh b/filters/about-formatting.sh
index 892fbeb..d024204 100755
--- a/filters/about-formatting.sh
+++ b/filters/about-formatting.sh
@@ -19,7 +19,7 @@
 
 cd "$(dirname $0)/html-converters/"
 case "$(printf '%s' "$1" | tr '[:upper:]' '[:lower:]')" in
-	*.md|*.mkd) exec ./md2html; ;;
+	*.markdown|*.mdown|*.md|*.mkd) exec ./md2html; ;;
 	*.rst) exec ./rst2html; ;;
 	*.[1-9]) exec ./man2html; ;;
 	*.htm|*.html) exec cat; ;;
-- 
1.7.10.4




^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] match other common markdown file extensions
  2014-07-17 13:44 [PATCH] match other common markdown file extensions chris.burroughs
@ 2014-07-30 21:21 ` chris.burroughs
  2014-12-24  2:10 ` Jason
  1 sibling, 0 replies; 4+ messages in thread
From: chris.burroughs @ 2014-07-30 21:21 UTC (permalink / raw)


On 07/17/2014 09:44 AM, Chris Burroughs wrote:
> -	*.md|*.mkd) exec ./md2html; ;;
> +	*.markdown|*.mdown|*.md|*.mkd) exec ./md2html; ;;

I admit I'm not used to submitting patches via email but noticed that a
similar problem came up in another thread.  Please let me know if I need
to do anything else.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] match other common markdown file extensions
  2014-07-17 13:44 [PATCH] match other common markdown file extensions chris.burroughs
  2014-07-30 21:21 ` chris.burroughs
@ 2014-12-24  2:10 ` Jason
  1 sibling, 0 replies; 4+ messages in thread
From: Jason @ 2014-12-24  2:10 UTC (permalink / raw)


Seems reasonable enough. Merged.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/cgit/attachments/20141223/e9a3bef1/attachment.html>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] match other common markdown file extensions
@ 2014-08-06 17:47 njn2118
  0 siblings, 0 replies; 4+ messages in thread
From: njn2118 @ 2014-08-06 17:47 UTC (permalink / raw)


I agree that this is a useful patch. I'm using it for my cgit instance.



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-12-24  2:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-17 13:44 [PATCH] match other common markdown file extensions chris.burroughs
2014-07-30 21:21 ` chris.burroughs
2014-12-24  2:10 ` Jason
2014-08-06 17:47 njn2118

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).