cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3886
Views
11
Helpful
8
Replies

Add Language to Code Sample

Rasmus Hoffmann Birkelund
Meraki Community All-Star
Meraki Community All-Star

I have a thing, where I like to put "things" in the right "boxes"..

When sharing code examples, sometimes it's also neccessary to add terminal output. Could it be possible to add e.g. BASH to the list of languages in the Code Sample?

#########
LinkedIn ::: https://blog.rhbirkelund.dk/
Like what you see? - Mark as helpful ## Did it answer your question? - Mark it as a Solution 🙂
All code examples are provided as is. Responsibility for Code execution is solely your own.
1 Accepted Solution

Accepted Solutions

Hi! I received a response from our platform vendor (Khoros) about this, and, unfortunately, changes to the editor (TinyMCE) requires a professional services engagement ($$) - even for just adding Plain Text as an option. We unfortunately don't have budget for this at the moment, but will keep in mind for the future!

View solution in original post

8 Replies 8

CarolineS-Meraki
Administrator
Administrator

Hi! Just to confirm - you mean here on the community, when you add a code sample via the editor?

Yes - correct. 🙂

Adding Bash as a Language on the Code Example in the Community. 🙂

image.png

#########
LinkedIn ::: https://blog.rhbirkelund.dk/
Like what you see? - Mark as helpful ## Did it answer your question? - Mark it as a Solution 🙂
All code examples are provided as is. Responsibility for Code execution is solely your own.

Cool, that's what I thought you meant, just wanted to confirm! I just did a bit of research about what the community platform can support, and it looks like this is possible but (unfortunately) seems to require a professional services engagement from the community platform vendor. I'll double check that that is still the case.

Philip D'Ath
Meraki Community All-Star
Meraki Community All-Star

Is there an option for "plain text"? It's terminal output, so doesn't require any specific formatting.

Plain Text would definitely also be a possibility, although it would still be nice for the formatting and coloring of terminal output. 🙂

#########
LinkedIn ::: https://blog.rhbirkelund.dk/
Like what you see? - Mark as helpful ## Did it answer your question? - Mark it as a Solution 🙂
All code examples are provided as is. Responsibility for Code execution is solely your own.

I'll check! The editor options aren't configurable by community admins (like me), but I can find out from the Khoros support team what's possible. Seems like adding plaintext as an option shouldn't require anything too special!

Hi! I received a response from our platform vendor (Khoros) about this, and, unfortunately, changes to the editor (TinyMCE) requires a professional services engagement ($$) - even for just adding Plain Text as an option. We unfortunately don't have budget for this at the moment, but will keep in mind for the future!

Sad, that Khoros requires such engagement, simply to add "plain text" as an option to TinyMCE.

But thanks anyway, @CarolineS1 for taking the time to look into it anyway! Very much appreciated!

#########
LinkedIn ::: https://blog.rhbirkelund.dk/
Like what you see? - Mark as helpful ## Did it answer your question? - Mark it as a Solution 🙂
All code examples are provided as is. Responsibility for Code execution is solely your own.