I released the new version 2.3.0 of UltraBlog.vim last week. The main improvement in this version is that templates are introduced in.
The following illustrations show the content and final effect of the default template:
Templates should be formatted as valid Python template strings, that is, use the following avaliable placeholders and escape any literal ‘%’ with another ‘%’:
The title of the current post/page.
The content of the current post/page.
A literal ‘%’.
Users can take the default template whose name is ‘default’ as an example for writing their own templates. The default template can be changed to another one by setting the name of that template to the option ub_default_template.
Posted via UltraBlog.vim.