how to let this code snippet is available in the post, such as <a class=
e-widget no-buttonhref=
https://gleam.io/yGZPa/csacasrel=
nofollow>CSACAS</a>
text/javascript
<script type=src=
https://js.gleam.io/e.jsasync=
true></script>
could it support HTML CSS JS format in the post?
-
This post was edited Aug 9, 2019 05:40AM
-
-
Moderator@garysong The formatting of the text can be done with Markdown:
https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet
I get asked the question of why can't users input HTML/CSS/JS directly. The quickest way to understand why is to recognize that users will be able to edit your website by entering poorly formed HTML tags.
For example, someone could add a comment like this:
<script>
// A competitor sets some cookie that starts tracking YOUR customers and advertising to them using retargetting
</script>
In short, this is a big security risk and is not something Champ will ever implement.
If you need to add some custom HTML snippet, the best way would be to use custom snippets or create a separate Shopify page and link out to that.
Reference for using custom snippets:
https://getchamp.net/guides/customizations/#using-customized-liquid-snippets
This post was edited Aug 9, 2019 07:01PM
Need help? Contact me at support@getchamp.net or here. Brand new! Add your own signature at https://getchamp.myshopify.com/community/champ/preference -
Hi support team
To add text in a specific color, should we go through the Shopify Snippet route as well?
I didn't find how to add some color using the markdown syntaxThank you
Champ user -
ModeratorHi @brett, Markdown doesn't support adding colours to an arbitrary text.
If you're looking to highlight a certain markup (that the Markdown generates), then you can do so with custom CSS.
Need help? Contact me at support@getchamp.net or here. Brand new! Add your own signature at https://getchamp.myshopify.com/community/champ/preference -