Tagged: x
-
AuthorPosts
-
November 30, 2016 at 5:10 pm #1276645
Chris SchwartzeParticipantHey X,
I want to display shortcodes on my website without actually displaying them. I just want to show the markdown.
I tried
<code></code>and also[[gap]]for example.Any advice?
November 30, 2016 at 5:26 pm #1276656
JadeModeratorHi Cris,
Please trying using the
<pre></pre>tag.Hope this helps.
December 1, 2016 at 12:55 am #1277102
Chris SchwartzeParticipantUsed that tag, doesn’t work either. Are you able to replicate the issue?
All of these don’t work:
<pre>[[author title="About Me"]]</pre>
<pre>[author title="About Me"]</pre>
<pre><code>[author title="About Me"]</code></pre>December 1, 2016 at 12:59 am #1277109
FriechModeratorHi There,
Cornerstone has an element called Code Snippet you can use that to display a code. If you prefer a shortcode, you can use the code below.
[x_code][author title="About Me"] [author title="About Me"] [author title="About Me"][/x_code]Hope it helps, Cheers!
December 1, 2016 at 1:10 am #1277114
Chris SchwartzeParticipantJust found the solution (after 2 hours).
[[[author title="About Me"]]]December 1, 2016 at 1:11 am #1277115
Chris SchwartzeParticipantThanks Friech, that answer works as well. Wonderful
December 1, 2016 at 1:12 am #1277118
FriechModeratorYou’re more than welcome, glad we could help.
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1276645 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
