질문
Zendesk Support의 어디에서 마크다운과 HTML을 사용할 수 있나요?
답변
아래 나열된 장소에서 마크다운을 사용할 수 있습니다.
- 상담사 서명
- 글로벌 상담사 서명
- 멀티브랜드 상담사 서명
서식 있는 콘텐츠가 사용 중지된 경우에는 아래 나열된 장소에서 마크다운을 사용할 수도 있습니다.
- 매크로
- 댓글
다음과 같은 장소에서 HTML을 사용할 수 있습니다.
- 트리거: 일부 트리거에서는 HTML을 압축해야 할 수도 있습니다. Text Fixer와 같은 압축 도구를 사용하세요.
- 자동화
- 동적 콘텐츠
참고: 트리거, 자동화 또는 매크로에서 동적 콘텐츠를 사용할 때에는 HTML이 지원되지 않습니다. - 이메일 기본서식
- 참조 이메일 기본서식
- 환영 이메일
- 확인 이메일
팁: 콘텐츠를 고객에게 보낼 때 추가 공백이나 공간이 있으면 HTML을 줄이거나 모두 한 줄로 작성하세요.
댓글 14개
James Peterson - Eastern Logic
Did some more testing and was able to get this to work if placed inside of Dynamic Content, but that seems like an additional unnecessary step considering it used to work if I directly wrote the HTML. Still curious if there is a way to get this to work directly.
0
James Peterson - Eastern Logic
I'm trying to add a HTML link to my email notification but it keeps sending raw text. I have configured this in the past, but now it's not working. Is there some setting that controls whether this is allowed, or has something changed in Zendesk recently to disallow HTML links? I have also tried markdown and it is the plain text as well.
0
Kuldeep
Hello there,
To incorporate hyperlinks into notifications sent through automations, you can use the following HTML format:
Hope this proves helpful! :)
Best,
Kuldeep
1
mfg
We're sending out notification emails via proactive tickets using the API (Tray). We need to include both hyperlinks as well as images. The ticket creation API call included a comment where I initially tested with both HTML and markdown in the body of the comment using both the raw text and the placeholder approaches.
In email triggers, with raw text in the trigger email body, I got the HTML link to work but was unable to get markdown or HTML image to work. I was able to get markdown to work using placeholders and the comment from the API call. I used ticket.latest_comment_html to pull the data into the body of the email trigger (the others work too but I didn't want to insert the comment author and timestamp info).
0
Hrishikesh Kokate
Oh yes, thanks for this! I kinda realised I double-posted this: https://support.zendesk.com/hc/en-us/articles/4408846544922/comments/4700446627226, sorry about that.
0
Dave Dyson
Welcome to the community! You should be able to use HTML when creating tickets via the API. To submit a ticket with HTML data in a comment, use html_body instead of body in your request. HTML data is stripped out of the request if you use body. For more information, see our documentation on the Create Ticket endpoint.
0
Hrishikesh Kokate
Is there any way to use Markdown or HTML when creating or updating tickets via API? I was looking into options for creating a custom "support centre" for our helpdesk, and would love to add some basic text formatting options. Based on this, API should be able to accept Markdown if not HTML. It's obviously not an official answer, but that made me hopeful.
I tried using HTML directly as well as Markdown as per the syntax here, but it appears to create tickets with plain text.
0
Elon (Yurii Martyniak)
Hi Andriy,
We had the same problem and Zendesk support helped us a lot.
As they have mentioned, you will need to add Liquid code to the dynamic content for the HTML to render correctly. Liquid code is needed in the DC because our system uses a different rendering engine.
With that being said you can use the following code and it will render the HTML as intended.
For example, just add {{‘Some text’}} at the beginning of your Dynamic content and it will work.
Best,
Yurii.
0
Andriy Ivakhov
When can we expect HTML support for dynamic content in triggers and automations?
Thank you
9
Dave Dyson
Welcome to the community! Yes, you can use HTML in the body of trigger email notifications.
0
댓글을 남기려면 로그인하세요.