In [1]:
%load_ext yamlmagic
In [2]:
%%yaml
- name: yamlmagic
- description: |
This is a multi-line string
# this is a comment, which won't end up in the data
Out[2]:
In [3]:
print(_)
In [4]:
%%yaml x
- name: yamlmagic
- description: |
This is a multi-line string
# this is a comment, which won't end up in the data
In [5]:
x
Out[5]:
In [6]:
%%yaml
!!python/float 0