गिटहब मार्कडाउन मोड


19

वहाँ GitHub स्वाद Markdown के लिए एक Emacs मोड है?

गिटहब फ्लेवर्ड मार्कडाउन में पारंपरिक मार्कडाउन में कई विशेषताएं शामिल हैं : अंडरस्कोर हैंडलिंग, यूआरएल ऑटोलिंकिंग, स्ट्राइकथ्रू और टेबल। एक Emacs मोड होना अच्छा होगा जो इन अतिरिक्त (विशेष रूप से तालिकाओं) का समर्थन करता है।


जवाबों:


22

वहाँ gfm-mode(जो markdown-mode.el का हिस्सा है )। फाइल में टिप्पणी से:

;;; GitHub Flavored Markdown:

;; A [GitHub Flavored Markdown][GFM] (GFM) mode, `gfm-mode', is also
;; available.  The GitHub implementation of differs slightly from
;; standard Markdown.  The most important differences are that
;; newlines are significant, triggering hard line breaks, and that
;; underscores inside of words (e.g., variable names) need not be
;; escaped.  As such, `gfm-mode' turns off `auto-fill-mode' and turns
;; on `visual-line-mode' (or `longlines-mode' if `visual-line-mode' is
;; not available).  Underscores inside of words (such as
;; test_variable) will not trigger emphasis.
;;
;; Wiki links in this mode will be treated as on GitHub, with hyphens
;; replacing spaces in filenames and where the first letter of the
;; filename capitalized.  For example, `[[wiki link]]' will map to a
;; file named `Wiki-link` with the same extension as the current file.
;;
;; GFM code blocks, with optional programming language keywords, will
;; be highlighted.  They can be inserted with `C-c C-s P`.  If there
;; is an active region, the text in the region will be placed inside
;; the code block.  You will be prompted for the name of the language,
;; but may press enter to continue without naming a language.

मार्कडाउन-मोड निश्चित रूप से अच्छा है, लेकिन क्या यह तालिकाओं के बारे में कुछ भी करता है? इस सवाल ने विशेष रूप से उस बिट को बाहर कर दिया।
— क्लीमेंट
हमारी साइट का प्रयोग करके, आप स्वीकार करते हैं कि आपने हमारी Cookie Policy और निजता नीति को पढ़ और समझा लिया है।
Licensed under cc by-sa 3.0 with attribution required.