1.9.0
Sublime Markdown Popups 1.9.0
- NEW: wrapper_class option to create your popup content and wrap it in a div with a class in one shot. Great for ST 3119+ which has better CSS support.
- NEW: More stripped down default styling.
- NEW: CSS for 3119+ now has better styling. We also now wrap generate the body with the
mdpopups
class. And CSS references it like so.mdpopups h1 {}
etc. As 3119+ supports this CSS now, it is recommended for that developers wrap their content and reference their classes like.myplugin .myclass {}
moving forward. Older versions of sublime will get the old legacy CSS, albeit stripped down more. - NEW: Added
mdpopups_version
template variable. - NEW: Added setting
mdpopups.default_formatting
for those who want to use stock HTML formatting. Keep in mind you will lose things like definition lists etc. - NEW: Added
template_vars
option so you can send plugin variables to be used in your CSS template. Variables are found under theplugin
object.template_vars
are also available in HTML/Markdown content and found under the same object. CSS filters are not available to the HTML/Markdown template environment. They are separate environments. - NEW:
template_env_options
this applies only to HTML/Markdown templating. This allows you to do things such as as change the template tags or add your own filters etc.