Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am used to writing text in markdown, and I love notepad++ for its light weight behavior. I am looking for a hint as how can I write markdown text in notepad++, which simulates using a markdown editor behavior.

What are the plugins which can be handy to use the markdown feature?. How to install this feature?

share|improve this question
4  
I don't understand. You can write Markdown in any text editor. –  Oliver Salzburg Apr 22 '13 at 16:52
    
Your question isn't clear. –  Sepahrad Salour Apr 22 '13 at 16:53
    
It sounds like you want to edit rich text using markdown syntax; Notepad++ is of course just a plain text editor, but which supports syntax highlighting. If you really need offline editing capability, you might want to instead look at a desktop editor that supports it, like this open source one –  Geoff Apr 22 '13 at 17:16

4 Answers 4

There's a project called Markdown Syntax Highlighting for Notepad++ on GitHub.

This project adds custom language highlighting for Markdown:

enter image description here

There's a version available for both the standard color scheme and the dark (ZenBurn) theme. After installation, you'll find a new option in the Language dropdown.

enter image description here

share|improve this answer
2  
How can I view the preview? –  srk Apr 22 '13 at 17:03
7  
@srk: I don't think you can. If you want a proper Markdown editing experience, I would recommend looking at MarkdownPad. Otherwise, you may have to construct a macro maybe to render the document and open it in a browser. But that would be a horrible workflow I guess :\ –  Oliver Salzburg Apr 22 '13 at 17:06
    
How about this? –  srk Apr 22 '13 at 17:06
    
@srk: It's syntax highlighting just as the one I suggested. At least from what I can tell. –  Oliver Salzburg Apr 22 '13 at 17:08
    
It's pretty bad syntax highlighting, eg # inside a link highlights to the end of the line like a comment. The project hasn't been touched in 2 years. There are a number of forks, but it is hard to tell which is better. –  NateS Oct 5 at 12:40

If you want to automatically preview Markdown in Notepad++ you can use HTML Preview plugin (ver 1.3 and higher) in combination with markdown tool. In HTML preview plugin you can define filter (program that will be executed on source file automatically before previewing it file). You can define filter using menu option, or manually if you put Filter.ini file in the folder plugins\Config\PreviewHTML. An example of Filter.ini file is enclosed in the Preview plugin archive file available from PreviewHTML web page.

This is example of Filter.ini file that uses python markdown implementation:

; Content of Filter.ini file
[Markdown]
Extension=.md
Language=Markdown
Command=python -m markdown "%1"
share|improve this answer

For Syntax highlighting i would go for the solution of "Oliver Salzburg"

here i found a link to an nice trick if you want to preview Markdown in Notepad++ Link to "Trick"

The Gist: There is a NPP extension called NPP_EXEC, which executes scripts. Combine it with the perl (python, node, ...) markdown script to generate HTML output into a tab

It is not very verbose, but i hope this still helps others, that want the same. (Like me:))

share|improve this answer
    
Please insert the gist or contents of the link. Links break and fade away which means that that part of your answer becomes meaningless to future visitors. –  Tog Oct 8 '13 at 8:53
    
@Tog Thanks for the Tip. Will do. :) –  winner_joiner Oct 8 '13 at 11:07

The "Edditoria" GitHub repo has a number of bugs (eg, # inside a link is broken) and hasn't been updated in years. After trying out the most active forks, this one is much better.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.