Skip to content

Adding '#' characters to multiline text? #1757

Closed Locked Answered by smeech
egoodwintx asked this question in Q&A
Discussion options

You must be logged in to vote

I think this works:

  - trigger: :std
    replace: |
      #include <stdio.h>
      #include <stdlib.h>

or

  - trigger: :std
    replace: "#include <stdio.h>\n#include <stdlib.h>"

unless I have misunderstood your question?

See https://yaml-multiline.info/.

You may also be interested in the new Discord channel.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@egoodwintx
Comment options

Answer selected by smeech
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants