I've added small tool for changing style.css files for Preview. It is possible to have different styles in "styles" folder and switch between them.
I have also changed shortcut for Replace from Ctrl+R to Ctrl+G. Old one is now used by Redo feature.
I've tried to implement Undo/Redo properly but it still needs polishing. If anyone wants to use it, just add following line into [General]
section of config.ini file:
By default 20 steps should be handled but it can be changed with:
is wanted number.
I have also changed a little bit the part of code responsible for parsing BB into HTML. This way more elements can be customized with styles.css (including links, quotes, etc.). If your preview looks strange, please, make sure that you have all needed classes defined (especially lists)!New CSS classes
- Code header: .small-code
- Quote header: .small-quote
- Links: .url, .email, .ftp
- Images: .image
- Alignment: .align-left, .align-right, .align-center
- Lists: list-decimal, list-lower-alpha, list-upper-alpha, list-upper-roman, list-lower-roman