Add Language to Code Sample

Solved
rhbirkelund
Kind of a big deal
Kind of a big deal

Add Language to Code Sample

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? - Give a Kudo ## Did it answer your question? - Mark it as a Solution 🙂

All code examples are provided as is. Responsibility for Code execution lies solely your own.
1 Accepted Solution
CarolineS
Community Manager
Community Manager

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!

 

Caroline S | Community Manager, Cisco Meraki
New to the community? Get started here

View solution in original post

8 Replies 8
CarolineS
Community Manager
Community Manager

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

Caroline S | Community Manager, Cisco Meraki
New to the community? Get started here
rhbirkelund
Kind of a big deal
Kind of a big deal

Yes - correct. 🙂

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

rhbirkelund_0-1709837263908.png

 

LinkedIn ::: https://blog.rhbirkelund.dk/

Like what you see? - Give a Kudo ## Did it answer your question? - Mark it as a Solution 🙂

All code examples are provided as is. Responsibility for Code execution lies solely your own.
CarolineS
Community Manager
Community Manager

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. 

Caroline S | Community Manager, Cisco Meraki
New to the community? Get started here
PhilipDAth
Kind of a big deal
Kind of a big deal

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

rhbirkelund
Kind of a big deal
Kind of a big deal

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? - Give a Kudo ## Did it answer your question? - Mark it as a Solution 🙂

All code examples are provided as is. Responsibility for Code execution lies solely your own.
CarolineS
Community Manager
Community Manager

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!

Caroline S | Community Manager, Cisco Meraki
New to the community? Get started here
CarolineS
Community Manager
Community Manager

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!

 

Caroline S | Community Manager, Cisco Meraki
New to the community? Get started here
rhbirkelund
Kind of a big deal
Kind of a big deal

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

 

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

LinkedIn ::: https://blog.rhbirkelund.dk/

Like what you see? - Give a Kudo ## Did it answer your question? - Mark it as a Solution 🙂

All code examples are provided as is. Responsibility for Code execution lies solely your own.
Get notified when there are additional replies to this discussion.