<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wikemacs.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=61.19.193.211</id>
	<title>WikEmacs - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wikemacs.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=61.19.193.211"/>
	<link rel="alternate" type="text/html" href="https://wikemacs.org/wiki/Special:Contributions/61.19.193.211"/>
	<updated>2026-04-10T07:56:31Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.14</generator>
	<entry>
		<id>https://wikemacs.org/index.php?title=Markdown&amp;diff=47726</id>
		<title>Markdown</title>
		<link rel="alternate" type="text/html" href="https://wikemacs.org/index.php?title=Markdown&amp;diff=47726"/>
		<updated>2017-02-02T06:01:46Z</updated>

		<summary type="html">&lt;p&gt;61.19.193.211: /* Live preview as you type */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox major-mode&lt;br /&gt;
|title=Markdown&lt;br /&gt;
|library=markdown-mode&lt;br /&gt;
|command=markdown-mode&lt;br /&gt;
|builtin=no&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[http://jblevins.org/projects/markdown-mode/ Markdown Mode] provides a major mode for editing [https://en.wikipedia.org/wiki/Markdown Markdown]-formatted text files. &lt;br /&gt;
&lt;br /&gt;
This package is not currently part of the Emacs distribution. &lt;br /&gt;
&lt;br /&gt;
Hello!&lt;br /&gt;
&lt;br /&gt;
Hello!&lt;br /&gt;
&lt;br /&gt;
= See also = &lt;br /&gt;
&lt;br /&gt;
== Pandoc-mode ==&lt;br /&gt;
&lt;br /&gt;
[http://pandoc.org/ Pandoc] is a swiss-army knife to convert a mark-up format into another (markdown to rst, org, etc) and [https://github.com/joostkremers/pandoc-mode pandoc-mode] (in melpa) is an emacs interface to it.&lt;br /&gt;
&lt;br /&gt;
= External Links =&lt;br /&gt;
&lt;br /&gt;
* [http://jblevins.org/projects/markdown-mode/ Markdown Mode Project]&lt;br /&gt;
* [http://jblevins.org/git/markdown-mode.git Source (git)]&lt;br /&gt;
&lt;br /&gt;
[[Category:Markup languages]][[Category:Document authoring]]&lt;/div&gt;</summary>
		<author><name>61.19.193.211</name></author>
	</entry>
	<entry>
		<id>https://wikemacs.org/index.php?title=Markdown&amp;diff=47725</id>
		<title>Markdown</title>
		<link rel="alternate" type="text/html" href="https://wikemacs.org/index.php?title=Markdown&amp;diff=47725"/>
		<updated>2017-01-31T23:57:13Z</updated>

		<summary type="html">&lt;p&gt;61.19.193.211: /* Generate a table of content */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox major-mode&lt;br /&gt;
|title=Markdown&lt;br /&gt;
|library=markdown-mode&lt;br /&gt;
|command=markdown-mode&lt;br /&gt;
|builtin=no&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[http://jblevins.org/projects/markdown-mode/ Markdown Mode] provides a major mode for editing [https://en.wikipedia.org/wiki/Markdown Markdown]-formatted text files. &lt;br /&gt;
&lt;br /&gt;
This package is not currently part of the Emacs distribution. &lt;br /&gt;
&lt;br /&gt;
Hello!&lt;br /&gt;
&lt;br /&gt;
== Live preview as you type ==&lt;br /&gt;
&lt;br /&gt;
There are a few possibilities.&lt;br /&gt;
&lt;br /&gt;
=== flymd ===&lt;br /&gt;
&lt;br /&gt;
That may be the easiest one. Install [https://github.com/mola-T/flymd flymd] (in [[melpa]]), go to your markdown buffer and call '''M-x flymd-flyit'''. It opens a browser window with your markdown being updated live.&lt;br /&gt;
&lt;br /&gt;
It also knows Github Flavoured Markdown.&lt;br /&gt;
&lt;br /&gt;
If you have a problem with scrolling the page, just click on &amp;quot;Auto scroll&amp;quot; in the browser (the red link on the right).&lt;br /&gt;
&lt;br /&gt;
Or look at impatient-mode below, which also works for html.&lt;br /&gt;
&lt;br /&gt;
=== Impatient-mode ===&lt;br /&gt;
&lt;br /&gt;
See [https://github.com/skeeto/impatient-mode impatient-mode] (in MELPA). It only depends on emacs packages. This package is designed for html though, but it is possible to make it render markdown. Evaluate this somewhere so you have the function:&lt;br /&gt;
&lt;br /&gt;
   (defun markdown-html (buffer)&lt;br /&gt;
   (princ (with-current-buffer buffer&lt;br /&gt;
           (format &amp;quot;&amp;lt;!DOCTYPE html&amp;gt;&amp;lt;html&amp;gt;&amp;lt;title&amp;gt;Impatient Markdown&amp;lt;/title&amp;gt;&amp;lt;xmp theme=\&amp;quot;united\&amp;quot; style=\&amp;quot;display:none;\&amp;quot;&amp;gt; %s  &amp;lt;/xmp&amp;gt;&amp;lt;script src=\&amp;quot;http://strapdownjs.com/v/0.2/strapdown.js\&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&amp;lt;/html&amp;gt;&amp;quot; (buffer-substring-no-properties (point-min) (point-max))))&lt;br /&gt;
         (current-buffer)))&lt;br /&gt;
&lt;br /&gt;
Then '''M-x imp-set-user-filter''' in your markdown buffer, and supply markdown-html when it asks for the function. Live updating markdown!&lt;br /&gt;
&lt;br /&gt;
Another filter which cooperates markdown-mode:&lt;br /&gt;
&lt;br /&gt;
    (defun markdown-filter (buffer)&lt;br /&gt;
      (princ&lt;br /&gt;
        (with-temp-buffer&lt;br /&gt;
          (let ((tmpname (buffer-name)))&lt;br /&gt;
            (set-buffer buffer)&lt;br /&gt;
            (set-buffer (markdown tmpname)) ; the function markdown is in `markdown-mode.el'&lt;br /&gt;
            (buffer-string)))&lt;br /&gt;
        (current-buffer)))&lt;br /&gt;
&lt;br /&gt;
=== Livedown-mode ===&lt;br /&gt;
&lt;br /&gt;
[https://github.com/shime/emacs-livedown livedown] is specific to markdown but it requires nodejs packages (to be easily installed with npm).&lt;br /&gt;
&lt;br /&gt;
=== Realtime-preview ===&lt;br /&gt;
&lt;br /&gt;
[https://github.com/niku/realtime-preview.el realtime-preview.el] requires a ruby package (''redcarpet''). Then it does the rendering in [[EWW]], which is embedded in Emacs24.4.&lt;br /&gt;
&lt;br /&gt;
= See also = &lt;br /&gt;
&lt;br /&gt;
== Pandoc-mode ==&lt;br /&gt;
&lt;br /&gt;
[http://pandoc.org/ Pandoc] is a swiss-army knife to convert a mark-up format into another (markdown to rst, org, etc) and [https://github.com/joostkremers/pandoc-mode pandoc-mode] (in melpa) is an emacs interface to it.&lt;br /&gt;
&lt;br /&gt;
= External Links =&lt;br /&gt;
&lt;br /&gt;
* [http://jblevins.org/projects/markdown-mode/ Markdown Mode Project]&lt;br /&gt;
* [http://jblevins.org/git/markdown-mode.git Source (git)]&lt;br /&gt;
&lt;br /&gt;
[[Category:Markup languages]][[Category:Document authoring]]&lt;/div&gt;</summary>
		<author><name>61.19.193.211</name></author>
	</entry>
</feed>