On Windows, fetch and launch the installer from the web site.

On GNU/Linux, install the additional repo channel and install the newly available package,

wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
apt update
apt install sublime-text

Plugins / Packages

show the console during configuration,

View > Show Console (^`)

install the Markdown package helper,

install Package Control

then install the following,

install Package

Markdown Extended
Material Theme
Simple Print Function

do not forget to provide the pandoc executable and the enscript help for printing text,

apt install pandoc enscript

note. not using those:

#good but redundant with Ext -- MarkdownHighlighting
#default styling is white: MarkdownEditing
#this breaks the shift+tab feature to unindent: SmartMarkdown


you can now choose the styling,

Preferences -> Color Scheme -> Material Theme...
Preferences -> Theme -> Material Theme...

also fix the tab size to 8 (REAL TAB),

Preferences -> Settings

"tab_size": 8,

just for the reference even if I don't use all those,

    "overlay_scroll_bars": "enabled",

    "always_show_minimap_viewport": true,
    "bold_folder_labels": true,
    "color_scheme": "Packages/Material Theme/schemes/Material-Theme.tmTheme",
    "font-face": "Fira Code",
    "font_size": 10,
    "line_padding_bottom": 3,
    "line_padding_top": 3,
    "material_theme_tree_headings": true,
    "overlay_scroll_bars": "enabled",
    "tab_size": 8,
    "theme": "Default.sublime-theme"

ref. https://packagecontrol.io/packages/Material%20Theme

(obsolete) Pandoc MD to PDF convertion

Obsolete: when PDF is needed, I just use discount HTML rendering with nice CSS then print to PDF from the browser.

On Windows desktops, you will also need Miktex.

On Linux desktops, you also need a Latex processor,

sudo apt install pandoc texlive texlive-xetex texlive-luatex fonts-lmodern lmodern

Then, to convert MD to PDF,


Or from the command line on Linux desktops,

pandoc -V papersize:a4paper -o ${doc%\.md}.pdf $doc
unset doc

(obsolete) SFTP

Obsolete: if possible, simply use GIT instead.

Otherwise here's how to proceed. The SFTP sublime package checks the time changes so,

  • make sure your workstation time is in sync with some ntp server & same timezone
  • make sure your server is in sync with some ntp server & same timezone

To avoid typing a password, also,

  • make sure you've got an SSH key-pair available someplace on your workstation
  • make sure your workstation's public key is deployed on the target

create a folder e.g. on desktop or ~/dev/ and setup your connection params,

right click on folder > SFTP > edit remote mappings...

    // The tab key will cycle through the settings when first created
    // Visit http://wbond.net/sublime_packages/sftp/settings for help

    // sftp, ftp or ftps
    "type": "sftp",

    "save_before_upload": **true**,
    "upload_on_save": true,
    "sync_down_on_open": false,
    "sync_skip_deletes": false,
    "sync_same_age": true,
    "confirm_downloads": false,
    "confirm_sync": true,
    "confirm_overwrite_newer": **true**,

    "host": "host.example.com",
    "user": "SSHUSER",
    //"password": "password",
    "port": "SOMEPORT",

    "remote_path": "/home/SSHUSER/dev/path/",
    "ignore_regexes": [
        "\\.sublime-(project|workspace)", "sftp-config(-alt\\d?)?\\.json",
        "sftp-settings\\.json", "/venv/", "\\.svn/", "\\.hg/", "\\.git/",
        "\\.bzr", "_darcs", "CVS", "\\.DS_Store", "Thumbs\\.db", "desktop\\.ini"

    "connect_timeout": 30,
    "ssh_key_file": "~/.ssh/...",
    //"ssh_key_file": "C:/Users/USERNAME/Desktop/ssh/private_key.id_rsa",
    "preserve_modification_times": **true**,

note. remove ** around hilighted true accordingly

now sync Remote > Local

ref. https://wbond.net/sublime_packages/sftp/settings#Plugin_Settings


refs about Markdown.

refs about PDF.

refs about PDF (obsolete).

refs about printing.