最近搜索


没有最近搜索

Rowan Walker's Avatar

Rowan Walker

已加入2021年5月28日

·

最后活动2022年2月03日

关注

0

关注者

0

活动总数

3

投票

0

订阅

1

活动概览

的最新活动 Rowan Walker

Rowan Walker 进行了评论,

社区评论 Q&A - Help center and community

OK - I've just come up with a fix.

In your theme's JS file add the following code to allow you to use HTML in your section & category descriptions.

$('.description').html( $('.description').text() );

The class/container element will depend on your theme. You'll also need to make sure it's run after the required HTML is ready (call in your footer or within an window.onload function). It also assumes your theme is using jQuery (I think this might even be required by Zendesk - so you should be safe).

查看评论 · 已于 2017年10月11日 发布 · Rowan Walker

0

关注者

0

投票

0

评论


Rowan Walker 进行了评论,

社区评论 Q&A - Help center and community

Wes - I think the jQuery is a work around - a hack. What Marci is trying to achieve would be pretty common (I'm trying to do the same); add some basic formatting to the section or category descriptions.

I've tried both HTML and Markdown, but when published, both formats aren't parsed and are just verbatim outputted.

查看评论 · 已于 2017年10月11日 发布 · Rowan Walker

0

关注者

0

投票

0

评论