Skip to content

Instantly share code, notes, and snippets.

@hngl
Last active October 25, 2022 20:05
Show Gist options
  • Save hngl/36523a234823c73376fdee33aa9908b6 to your computer and use it in GitHub Desktop.
Save hngl/36523a234823c73376fdee33aa9908b6 to your computer and use it in GitHub Desktop.
source rendered

Literal block style

          description: |-
            Interval length of the series

            For a recurrenceType of `monthly`, an interval of `2`
            means this event happens every 2 months

Line breaks in wrapped line, even when no trailing whitespace

<p>Interval length of the series</p>
<p>For a recurrenceType of <code>monthly</code>, an interval of <code>2</code><br>
means this event happens every 2 months.</p>

Folded block style

          description: >-
            The recurrence type of this occurrence; can be "single", "daily",
            "weekly", "monthly_on_day", "monthly_on_week"

            or "yearly"

No line break in wrapped line. Single empty line (\n\n) becomes line break, not paragraph.

<p>The recurrence type of this occurrence; can be "single", "daily", "weekly", "monthly_on_day", "monthly_on_week"<br>
or "yearly"</p>

Folded block style, double empty lines (\n\n\n)

          description: >-
            Clients invited to this occurrence. Supports extended workflow.

            Extended workflow is a flag that, when enabled, causes invitations
            to

            have hour type, surcharge and trajectory


            When using this to add a client to the occurrence, the client's

            hour type, surcharge and trajectory will be added to the client
            invitation

Double empty line (\n\n\n) creates new paragraph (<p>)

<p>Clients invited to this occurrence. Supports extended workflow<br>
Extended workflow is a flag that, when enabled, causes invitations to<br>
have hour type, surcharge and trajectory</p>
<p>When using this to add a client to the occurrence, the client's hour type,<br>
surcharge and trajectory will be added to the client invitation</p>

https://yaml-multiline.info/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment