Workflow is a fantastic app, recently acquired by Apple, which allows users to create their own iOS mini apps. It is a great way of automating common tasks and adding custom functionality to your iPhone. In this blog post we are going to use Workflow to create Today Widgets to: Open a specific Trunk Notes page Quickly capture some text and append it to a Trunk Notes pages In order to follow this blog post get started by installing Workflow onto your device - it’s free.
Trunk Notes 4.7.0 is now on the App Store. A minor change in this release is that images are not always shown at the full width of the screen, greater for smaller images or if you want to specify a size. The main change is the update to the Markdown parser. In this blog post I’m going to review some of the new Markdown features. Trunk Notes uses the Markdown parser Discount, an excellent C library written by David Parsons.
The Trunk Notes manual gives a partial example of using Lua to automatically switch your wiki to a night mode. The idea is that at night your wiki will use light text on a dark background to make reading easier. This blog post is going to give a more complete description of how to achieve this. To start with you need to create a special stylesheet to use at night. Anything defined here will be added to the default stylesheet.
I’ve been asked recently for more tutorials on using Lua with Trunk Notes, and this morning I was asked: “I want to include the previous page at the top of my current page.” Using Lua this is an easy ability to add in Trunk Notes. The starting point is working out how to get access to the last page. Trunk Notes has a function history which returns a certain number of page titles that have been browsed recently.
Trunk Notes 4.5.0 was released yesterday. This update comes with some new features and the usual bug fixes. For users who sync their wiki with Dropbox you might be excited that Trunk Notes (finally!) automatically uploads new and changed pages. If you have issues with this new feature you can easily disable it to return to the old behaviour. Manual sync may still be needed if you don’t change anything but want to bring in changes made on another device.