Allow code snippets on description or variables
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-14-2022 01:34 AM
Hello,
I am wondering if there is a way that formats the code automatically
Like we have in the community to let the users choose the programming language for adding their code snippets
I know we have a workaround solution though adding [code] <pre> <code> "my code snippet" </pre></code> [/code] tags, but want to know if it is feasible OOTB with the new release? I can add html field type as a variable, but it isn't helping me to format as expected.
Basically, my end users wants to share code snippets in the ticket [properly formatted]
Thanks
ServiceNow Consultant
United Kingdom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-14-2022 01:53 AM
I don't think so.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-14-2022 01:54 AM
Thanks @Ankur Bawiskar , may be do you know if we can have a template that can be loaded with these tags [on-demand], I am open for ideas if you have.
ServiceNow Consultant
United Kingdom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-14-2022 02:09 AM
why would someone add a script in any of the ticket/case?
Is this a valid business requirement?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-14-2022 02:28 AM
Yes, these aren't essentially any codes
they could be some linux commands or sample syntax which users can copy and execute themselves
ServiceNow Consultant
United Kingdom