I've posted a great deal of praise about cherrytree notebook over the years. My principal 'essential' for years now; completely remains so...
Funnily enough was just writing another post extolling its virtues for generating rich text and exporting to html, txt, or pdf, and apparently it can import (but oddly, not export, Markdown). I've exported my single cherrytree note page as a pdf and also as simple text (printed here) that loses images and formatting of course... html export also keeps the formatting. The pdf export exemplar is attached with dummy .tar.
Text export version (with the 'lost' formatting) is as below:
Just a quick illustration showing that cherrytree can be used as simple text editor and much more via export option for saving...
Dear Mr Whoever,
I hope you are fine.
Yes I am doing well (he answers here, mysteriously...).
Indeed.
Posting to: https://forum.puppylinux.com
The url links are automatically generated and preserved in html exported version as is the below table.
| today | is | Friday |
| 01 | Nov | 2024 |
Using a cherrytree note to show it can be used as a simple text editor or basic wordprocessor.
Can be exported to html or txt or PDF.
and can insert images:
Of course images disappear when exported as text and tables appear as text with pipe column markers.
You can indent paragraphs on push of a button,
which is what I did here...
Can also justify paragraphs; left, centre, right, fill.
So this paragraph is ‘justify right’.
Justification won't appear in text exported version though since all formatting removed...
NOTE: Justification also didn't occur on pdf rendered version for some reason...
You can enable word-wrapping and also line numbers, and search and replace works, so it is pretty usable as a simple text editor too. Can underline wrongly spelled words, replace tabs with spaces, strip trailing spaces, insert timestamp, horizontal rule, be linked to from other cherrytree note pages,
and you can insert “Code blocks” such as:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#!/bin/bash
echo Cherrytree as simple word processor or text editor or simple html generator/editor or pdf generator...
printf "\nAside for always using Cherrytree as my ‘memory’, being able to create all these file types is another great reason\n\n"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can even execute the embedded code block..., though I find it the process a bit weird. Needs practice maybe.
But you can also just type in the code in normal text (no codeblock), highlight and right click that and execute that highlighted part... Admittedly, cherrytree is not the greatest programmer's editor; wordwrap doesn't seem to work in codeblocks..., but its okay and code block understands some simple bash code syntax highlighting, and you can cut/paste that into normal text form if you wish - overall, I do prefer geany for coding though (with wordwrap):
#!/bin/bash
echo Cherrytree as simple word processor or text editor or simple html generator/editor or pdf generator...
printf "\nAside for always using Cherrytree as my ‘memory’, being able to create all these file types is another great reason\n\n"
But, NO, it will not import/export word docx format; can import from Markdown though, but cannot export to Markdown...sigh, and can cut and paste pages from browser rather nicely.
Pretty good; especially when you have cherrytree open a lot, as I do...
Bye for now.
wiak