Welcome to my personal blog!

I am doing software development in many areas, with my main fields of experience being cross-platform software (C++/Qt), Android apps (native), Linux & DevOps (Bash/Python/Ruby, Docker, ...).

Open Source is one of my passions -- I am a developer and maintainer of many open projects and regularly start contributing to additional ones. Support me on my mission! My other favourite activities include photography and being outdoor as much as possible. I am too volunteering at the local fire department. I went to school at HTL Braunau (Electronics / Software Engineering & Mobile Computing), studied at FH Hagenberg (Mobile Computing) and work currently at Felgo.

Markor v2.5 update is out! Get the update from F-Droid, Google Play or GitHub!
Continue reading to find out what’s new, improved and fixed in this update.

Highlights

New format: Zim Wiki

The Markor community has been asking for Zim & Wiki Text support a long time, now it is available at Markor. It is implemented at full glance including syntax highlighting (edit mode), text actions & converter (view mode).

If you don’t know how the Zim format & syntax works, Markor also includes a reference template
that gives you an overview. It is available from the + (New file) dialog in the app or from GitHub.

How does it look like?

markor-zim-g1.webp

markor-zim-g2.webp

What is available?

Most features that the Zim syntax offers are available from the beginning for everything at Markor.
So beside Markdown you can now also use Zim for taking notes, keeping journals, organize your tasks and more.

CategoryActions, Highlighting, View
ListOrdered (1./a.), Unordered (* ), Tasks/Checkboxes (☑️)
Text StyleBold, Italic, Underline, Striketrough, Superscript, Subscript
ColorMarked (Highlighted), Foreground, Background
SpecialHeadings 1-5, Code (inline & block)
ReferencesWeb links, Files & Wiki entries, Images

Notice: This is the first version of Markor with Zim support. Improvements, potentials fixes & more features to come!

What is Zim?

Zim is a graphical text editor used to maintain a collection of wiki pages. Each page can contain links to other pages, simple formatting and images. Pages are stored in a folder structure, like in an outliner, and can have attachments. Creating a new page is as easy as linking to a nonexistent page. All data is stored in plain text files with wiki formatting.

zim-normal.webp

Zim can be used to:

  • Keep an archive of notes
  • Keep a daily or weekly journal
  • Take notes during meetings or lectures
  • Organize task lists
  • Draft blog entries and emails
  • Do brainstorming

Zim handles several types of markup, like headings, bullet lists and of course bold, italic and highlighted. This markup is saved as wiki text so you can easily edit it with other editors.

Source: zim-wiki.org, December 2020


Search & Replace - Simple or Regex

Text replace functionality was added to Markor - for both simple and advanced use cases.

  • You can do simple text replacements ( text a -> text b )
  • You can do Regex replacements ( .*http.* -> Link removed)
  • You can do Replace (1) (next occurence from current cursor position)
  • You can Replace all (all occurences in the current file)
  • You can view the amount of matches - count specific words, characters & more (optionally with regex)

How to replace?

  1. Open a file & use the Search button in the toolbar (🔍)
  2. Open the Replace popup via Search / Replace
  3. Enter search text & the replacement, check regex/multiline as needed
  4. Use Replace (1) or all to execute the replacement

How does it look like?

g1.webp

g2.webp

Tooling changes

Android SDK & supported devices

Markor is now built with Android SDK 29, minimum required by Google Play.
Markors minimum supported Android version remains unchanged - „Android Jelly Bean 4.1 (API16)“.

Continuous Integration & Delivery

The project switched to GitHub Actions for CI/CD as it integrates best with GitHub
& there are no relevant restrictions for Open Source projects currently.

Benefits for users

The switch not only comes with benefits for developers, but also users.
Download & install development builds of Markor from the GitHub Actions artifacts now.
You can install the test app (👁️Mordor) beside Markor.

This means you can see in-development features & try them before any update is released.
Not only builds of merged changes are available for download, but also from upcoming changes of not-yet-merged pull requests.
Open a build to download apk, build & test logs, apk info & more..

Per file settings

Some file specific options were added to the editor toolbar menu.
The global settings are still used as long you don’t toggle/change any setting in a file.

You can find the File-Settings in the top toolbar, given you have a file open.

It currently includes:

  • File format (Plaintext / Key-Value / Markdown / todo.txt / Zim Wiki)
  • Enable/Disable line wrapping
  • Enable/Disable syntax highlighting

New color schemes & templates

  • Nord editor color scheme was added
  • Zim Wiki related templates/samples were added
  • Zettelkasten template/sample was added

Project community

Markor gets a lot of new features, improvements and fixes with every update.
This time especially due the hard work of Harshad Srinivasan, Frederic Jacob, Peter Schwede, Gregor Santner & more.
Thank you very much!



More information

Changelog

Notice: Development changelog is always available from GitHub. See the history for code changes.

  • Add Zim Wiki format and template #1098
  • Add search & replace (simple|regex, replace once|all) #1112
  • Add settings for current file to toolbar #1129
  • Fix file sometimes not opens from launcher shortcut #1139
  • Use GitHub Actions for CI/CD #1151
  • Add template for Zettelkasten #1156
  • Add Nord editor color scheme #1134
  • Allow to select folder when create new file via share into Markor #1138
  • Improve license dialog readability #1119
  • General improvements, fixes and translations


Read more

Notice: Martin Pitt is the author of this article. It was first published on his blog in September 2020. ‘I’ refers to the original author.


Note keeping & tools

Being a paper hater, I have kept all my work and private notes in digital form pretty much forever. The tools have changed over the times of course, but I’m really happy with my current system now.

I am a strong proponent of plain-text formats for just about everything, due to being simple, efficient, universal, implemementation/tool agnostic, and effectively trackable in revision control. I spend my entire work life as a software developer in vim and mutt, so it’s just straightforward to do the same for notes and TODO lists.

Two years ago I started to use org mode for my notes/TODOs, with vim-orgmode on the PC, Orgzly on the phone, and Syncthing for syncing the files between my laptop, server, and phone. It works well enough, but I find the org syntax a bit unwieldy and especially hard to type on a phone. I use Markdown for everything else, like software development, scientific and computer papers, and general documents (with pandoc).

So a few months ago I looked for an org replacment, and quickly found the FOSS Android App Markor, which is just amazing. It beautifully renders and efficiently edits Markdown, todo.txt, simple plaintext, and a other formats. For vim there’s of course plenty of Markdown plugins, I use vim-markdown.

Thus I can easily edit some ~/Documents/notes/demo.md file with vim on the laptop, a few seconds later Syncthing did its magic, and Markor renders it on the phone, including an autogenerated table of contents:

Vim Markdown | Markor Markdown

Markor also has a lot of shortcuts and templates for comfortably editing Markdown on the phone – as I often do when I’m not at home.

So then I converted my org notes to Markdown and never felt like going back.

Task Management

For task management, I moved to todo.txt, a well-structured and reasonably powerful, yet simple line based text format. todo.txt-vim makes editing these a joy on the laptop, and Markor has excellent support for it as well:

Vim todo.txt | Markor todo.txt

Getting Things Done Method

I started using the Getting Things Done method at the same time, and it has been wildly successful for me. I use:

  • Markor’s QuickEdit.md as scratch pad/inbox,
  • the “next” lists go into todo.txt using priorities: A (today), B (next days), C (this week),
  • the “waiting” list is also part of my todo.txt, I use priority ‘W’ for that,
  • likewise the “someday” list goes into todo.txt with priority ‘Z’,
  • notes, extra material, and future (blocked) todo items go into projects.md, using the +ProjectName tags as headings.

I do my weekly review every Friday afternoon, at work EOD.

Finally I have some helper shell aliases for conveniently accessing my notes and TODOs:

alias notes='(cd ~/Documents/notes; vim .)'
alias todo='(cd ~/Documents/notes; vim todo.txt)'

The cd is because I often need to open more than one file, e.g. projects.md when I edit todo.txt.

Read more

Markor v2.4 update is out! Get the update from F-Droid, Google Play or GitHub!
Continue reading to find out what’s new, improved and fixed in this update.

Highlights

View-Mode syntax highlighting for more languages

Syntax highlighing has been added for many additional (programming) languages in the Markdown view-mode (code block like ```kotlin):

  • Elixir
  • Haskell
  • Kotlin
  • Perl
  • R
  • Ruby
  • Scala
  • Swift


New todo.txt implementation

todo.txt syntax highlighting is now faster than ever before. Also all todo.txt specific text actions have been improved for better compatibility.
Vaious new features, actions and options also come with the update, checkout the full changelog.



More information

Changelog

Notice: Development changelog is always available from GitHub. See the history for code changes.

  • Markdown: Correctly insert or remove list item on press enter at empty list item
  • Remove title from todo.txt date dialog, better usable on small devices
  • Fix search sometimes not working when chaging from view to edit mode
  • Rework Indent & Move lines Actions
  • Add settings option to control todo.txt completition date auto insert
  • All new todo.txt support in Markor
  • Add many languages to view-mode code highlighting
  • Add xlf format (plaintext)
  • Remove colored highlighting from changelog dialog
  • Add search to Markdown edit-mode outline/TOC dialog
  • New file dialog remember type selection
  • Better preserve current open folder across device rotation & reboot
  • todo.txt: Long press sort to sort by most recent used method
  • Markdown: Improve bold/italic syntax highlighting with punctuations
  • todo.txt: Create done file again when not exists
  • Add Actions: Move line up & down, start new line
  • Insert Date/Time text action: List of recent time formats
  • Control visibility of text actions
  • Edit-Mode Search: Open selected position instead of first match
  • File browser: Add settings option to customize file description format
  • todo.txt: Syntax highlighting in edit-mode search dialog
  • Save last used folder to settings, use info for titlebar
  • New File Dialog: Remember type selection


Read more