This adds a +no_margin attribute to code blocks which removes extra margins. For themes that specify a vertical/horizontal padding (like all built in themes), the padding is still present even when using this. This only removes the margin that typically extends a bit right if your code snippet's max line length is too short.
This is especially useful when using +exec_replace so you don't get any extra margin and instead get the executed program's output as-is. For example, the following now looks like this:
This adds a
+no_margin
attribute to code blocks which removes extra margins. For themes that specify a vertical/horizontal padding (like all built in themes), the padding is still present even when using this. This only removes the margin that typically extends a bit right if your code snippet's max line length is too short.This is especially useful when using
+exec_replace
so you don't get any extra margin and instead get the executed program's output as-is. For example, the following now looks like this:Fixes #349