Text editor: Difference between revisions

From 太極
Jump to navigation Jump to search
Line 68: Line 68:
* pandoc conversion to html/PDF is not good; scripts part has no rectangle, tables have no separate lines.  
* pandoc conversion to html/PDF is not good; scripts part has no rectangle, tables have no separate lines.  
== Packages ==
== Packages ==
To install a new package, go to Preferences -> Install -> type the package name and hit ENTER.
* [https://atom.io/packages/markdown-preview-enhanced Markdown Preview Enhanced]. It allows to view in browser (html) or export to PDF. Use '''r''' instead of '''R''' for R language syntax highlight. Another nice feature is the scrollings of the markdown file and preview are together.
* [https://atom.io/packages/markdown-preview-enhanced Markdown Preview Enhanced]. It allows to view in browser (html) or export to PDF. Use '''r''' instead of '''R''' for R language syntax highlight. Another nice feature is the scrollings of the markdown file and preview are together.
* [https://atom.io/packages/markdown-toc Markdown TOC]
* [https://atom.io/packages/markdown-toc Markdown TOC]. It messes up the # sign in script blocks :(


= Visual Studio Code =
= Visual Studio Code =

Revision as of 19:18, 8 October 2017

Platforms Pros Cons
Atom Cross built-in markdown file preview
Emacs Cross
Gedit Cross print preview no code folding
Geany Cross print preview; Terminal
IntelliJ IDEA Cross
Notepad++ Win print line numbers, Right-click menu R syntax highlight not work with most themes
Qt Creator Cross split a window (even same file)
RStudio Cross folding, best IDE for R coding not support drag and drop a file but SendTo works
Sublime Cross
vi Cross
Visual Studio Code Cross Integrated Terminal, Markdown preview Should not include minimap function


HTML editors: see here.

Atom

  • Markdown preview feature is OK but it cannot export to pdf or HTML.
  • pandoc conversion to html/PDF is not good; scripts part has no rectangle, tables have no separate lines.

Packages

To install a new package, go to Preferences -> Install -> type the package name and hit ENTER.

  • Markdown Preview Enhanced. It allows to view in browser (html) or export to PDF. Use r instead of R for R language syntax highlight. Another nice feature is the scrollings of the markdown file and preview are together.
  • Markdown TOC. It messes up the # sign in script blocks :(

Visual Studio Code

10 Essential Productivity Tips for Visual Studio Code

Theme

Write or Code Faster in Your Linux Text Editor With Custom Themes