一个把 wikitext 转换成 markdown 的 Emacs 函数: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

19 July 2026

  • curprev 21:2421:24, 19 July 2026 Mwroot talk contribs 3,793 bytes −42 No edit summary
  • curprev 21:2321:23, 19 July 2026 Mwroot talk contribs 3,835 bytes +3,835 Created page with "<syntaxhighlight lang="elisp" line> (defun wikitext-convert-all (&optional start end) "Convert simple wikitext to GFM markdown." (interactive (if (use-region-p) (list (region-beginning) (region-end)) (list (point-min) (point-max)))) (save-excursion (save-restriction (narrow-to-region start end) ;; -------------------------------------------------- ;; 1. inline <code> ;; --------------------------------------------------..."