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.
I remember about 18 months ago, seeing an app development company’s website which promised bug free apps. As an experienced software developer I know that such a claim is a very bold one to make. A mobile app is a piece of software just like Microsoft Office, Photoshop or Windows 10 - in most cases much less complex, however a piece of software nonetheless. If you are someone who has ever used Microsoft Office, Photoshop or Windows 10 you will know that bugs do exist in these products.
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.
If I need some work done on my car or house I generally have no idea how much it’s going to cost. Unless I get a number of different quotes, I feel a bit in the dark as to whether I’m getting good value for money. The same would be true if it involved many areas in which I have limited or no knowledge. For many people having software developed is just the same.
Lua is a great way to really make your Trunk Notes wiki your own. If you have done some programming before then Lua is quite easy to pick up. This week I had a question from someone wanting to create their own settings page. The page would have checkboxes which could then be read by a Lua script run on each page load. Doing this is fairly straightforward. To start with create a new page containing your checkboxes.
One of my clients produces heritage and tourism apps and I’ve been lucky enough to work on a number of these for him. Recently he came to me needing some help adding custom/offline mapping support to one of his Android apps. He had a map image he’d licensed and needed it to work largely offline in addition to already implemented mapping using the Google Maps SDK. This is quite a text heavy article and could use some images.
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.
A few weeks ago the spare bedroom, which housed my desk, monitor and printer, began the transformation into a room for my next child who is due in April. The desk and monitor have been sold, and the printer needed to be moved. The small laser printer is used by myself and my wife on a semi-regular basis and doesn’t feature Wi-Fi. This seemed like a good excuse to sort out a solution which offers AirPrint and to which I could migrate the media server functionality of my now non-functional Synology DiskStation.
I’ve been playing with Hugo, a static website generator. I have never particularly enjoyed creating websites in HTML, and never found a builder that didn’t quickly annoy. Hugo appeals to my need for separation whilst offering a lovely geeky feel to website and blog creation. I’m currently in love with Bitrise. It seems to require more tinkering than buddybuild but offers more power and flexibility. It also supports Xamarin projects, which buddybuild doesn’t.