"""
#| layout .column-margin
Some test stuff!
""";
Tag Maker
Processor to quickly write ::: tags as comments
Inspiration
As I was writing my new course, I found that having to do two sets of :::
and something to put in between two {}
annoying, so this is a quick processor to do that for me as a tag
convert_layout
convert_layout (cell, layout, start=False)
Parses cell formatted with ::: {$something}, and potentially :::
convert_shortcuts
convert_shortcuts (cell)
LayoutProc
LayoutProc (nb)
A proc that will automatically change #| css format to ::: {format} … :::
An example usage of this proc is writing something such as (just the content):
In a markdown cell and then running the processor
Some test stuff!
Or you can split it up into multiple cells by dictating start
and end
:
"""
#| layout .column-margin start
Some test stuff!
""";
"""
#| layout end
""";
Some test stuff!