No announcement yet.
  • Filter
  • Time
  • Show
Clear All
new posts

  • Guide to Markdown, Markstat and Sublime Text (External Editor)

    I made an website which aims for Stata users to learn Sublime Text on their own.

    My website offers both Windows and macOS installation guide and informs some useful Sublime Text packages for Stata users.

    And for those interested in literate programming or reproducible document, I forked 2 popular Markdown packages of Sublime Text to support Stata code blocks.
    With my forked version(which is also introduced in my website), you can:
    • see Stata code blocks highlighted within Markdown document
    • execute Stata code line by line via ctrl/command+d within Stata code blocks (this part requires manual setting(just copy & paste), read the README document)
    Below is an example of how it works when you write a Markdown document including Stata code blocks:
    Click image for larger version

Name:	example.PNG
Views:	1
Size:	100.9 KB
ID:	1527549

    and the following link is an HTML document generated by -markstat- from above example:

    Thanks for Mattias Nordin who developed Windows Stata plugin of Sublime Text, Zizhong Yan who developed macOS Stata plugin of Sublime Text and German Rodriguez who developed ssc Markstat package.

    I hope you like Sublime Text as much as I do.

  • #2
    I discovered this post yesterday and tried your package. Works great. Thank you!

    I recommend the package for those who would like to benefit for using Sublime Text, a great text editor.