Copy MarkDown HTML to Clipboard from the Terminal / Shell

I have a quite terminal based workflow. I needed a way to copy the HTML version of a MarkDown file, straight to my clipboard. I love writing in my favourite text editor and I know a lot of other people do. They don’t want to bother with browser windows and their lack of key bindings and shortcuts. Projects like GHOST certainly make things easier for people like me, but I still have a majority of my blogs running WordPress. Continue reading “Copy MarkDown HTML to Clipboard from the Terminal / Shell”

Retext – Split View MarkDown Editor on Linux

Retext is a great MarkDown editor for beginners and is widely available on the Linux platform.

After introducing Uberwriter I thought it would be time to introduce Retext, which focuses on different features.

retext_markdown_editor_linux

Retext features that are most valuable to me are the display of files in split view and PDF export. It’s a solid editor for both MarkDown and plain text files and I think it’s great for beginners to check the MarkDown syntax right away.

Having said that, it’s much like Mou, my favourite MarkDown editor on Mac OS X, but not as feature rich.

Features I’d love to see in Retext

  • custom CSS for PDF export
  • theming support for the editor itself
  • changing the “copy HTML” functionality so it only exports the body, without surrounding <body> and <html> tags

Installing Retext

Retext is available in most package managers, called retext, so for Debian / Ubuntu you would run:

    sudo apt-get install retext

On Arch Linux you currently have to remember to install python-markdown with it, since it is not automatically required as a dependency:

    sudo yaourt -S markdown-python retext

How to: Start any application from the terminal

Starting any application from the terminal can ease your workflows a lot. I’ve gotten used to being able to open files from the shell, when I’m working on a project. I navigate to the project folder and start editing, either markdown files for documentation or source code.

Usually I’d type gvim file.md and watch the gVim window open. Continue reading “How to: Start any application from the terminal”

Boot Raspberry PI (2 or 3) from a USB Stick

Update: Works with the Raspberry PI 2

I have a tendency to get busy on stuff when I’m under pressure for some completely different stuff, in this case I’m fiddling with my Raspberry PI instead of writing my exam report. Continue reading “Boot Raspberry PI (2 or 3) from a USB Stick”