Question

How do I add line breaks when appending text to a Google Doc?

  • 11 December 2023
  • 1 reply
  • 53 views

Hey all!

 

I’m looking to append text to a Google Document based on messages sent in Slack. Here is what my append to text looks like and what that generates in my document. I’m not super familiar with coding but the end goal is having each of the fields on a separate line and IDEALLY having a line break between each append text. Any help?

Also: While I’m asking things, is there a way to append files attached to a message or is my best bet to just link to the Slack message?

 


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

Userlevel 7
Badge +14

Hi @egardner 

Good question.

If that field accepts HTML, then you can use the line break tag: https://www.w3schools.com/tags/tag_br.asp