<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Splunk language mode for syntax highlighting for codemirror (Slack, PasteBin, etc) in #Random</title>
    <link>https://community.splunk.com/t5/Random/Splunk-language-mode-for-syntax-highlighting-for-codemirror/m-p/657495#M1930</link>
    <description>&lt;P&gt;This is a bit of a long shot, but I was curious to get the community's input.&lt;/P&gt;&lt;P&gt;Today, I realized that both Slack and PasteBin use "codemirror" to handle their web code editor / syntax highlighting.&lt;BR /&gt;&lt;BR /&gt;With PasteBin, I had to examine the page source to confirm. With Slack, you can confirm it here:&lt;BR /&gt;&lt;A href="https://slack.com/libs/webapp" target="_blank"&gt;https://slack.com/libs/webapp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I figured I would submit a feature request to codemirror to see if they could add a "language mode" for Splunk. However, my issue was immediately closed with the response that codemirror does not implement new language modes, and it would be better implemented via a separate package.&lt;/P&gt;&lt;P&gt;So I guess&amp;nbsp;&lt;EM&gt;someone&lt;/EM&gt; will have to create and maintain a language mode for codemirror for others to use if they want SPL support.&lt;/P&gt;&lt;P&gt;Unfortunately, I do not have the experience to do this. But looking around, it appears GraphQL built their own codemirror language code package...so I was thinking...even if it's a long shot, maybe I can send the idea to Splunk and see what happens.&lt;/P&gt;&lt;P&gt;Where would be the appropriate place to send this suggestion in to Splunk to see if that's something they'd be interested in implementing? I tried checking the ideas submission, but there are no categories where this idea would fit.&lt;/P&gt;&lt;P&gt;I think it would be awesome if one day we could have Splunk syntax highlighting support in Slack (and also PasteBin, but there's a lot less people using that lol).&lt;/P&gt;</description>
    <pubDate>Wed, 13 Sep 2023 21:30:23 GMT</pubDate>
    <dc:creator>chadbaldwin</dc:creator>
    <dc:date>2023-09-13T21:30:23Z</dc:date>
    <item>
      <title>Splunk language mode for syntax highlighting for codemirror (Slack, PasteBin, etc)</title>
      <link>https://community.splunk.com/t5/Random/Splunk-language-mode-for-syntax-highlighting-for-codemirror/m-p/657495#M1930</link>
      <description>&lt;P&gt;This is a bit of a long shot, but I was curious to get the community's input.&lt;/P&gt;&lt;P&gt;Today, I realized that both Slack and PasteBin use "codemirror" to handle their web code editor / syntax highlighting.&lt;BR /&gt;&lt;BR /&gt;With PasteBin, I had to examine the page source to confirm. With Slack, you can confirm it here:&lt;BR /&gt;&lt;A href="https://slack.com/libs/webapp" target="_blank"&gt;https://slack.com/libs/webapp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I figured I would submit a feature request to codemirror to see if they could add a "language mode" for Splunk. However, my issue was immediately closed with the response that codemirror does not implement new language modes, and it would be better implemented via a separate package.&lt;/P&gt;&lt;P&gt;So I guess&amp;nbsp;&lt;EM&gt;someone&lt;/EM&gt; will have to create and maintain a language mode for codemirror for others to use if they want SPL support.&lt;/P&gt;&lt;P&gt;Unfortunately, I do not have the experience to do this. But looking around, it appears GraphQL built their own codemirror language code package...so I was thinking...even if it's a long shot, maybe I can send the idea to Splunk and see what happens.&lt;/P&gt;&lt;P&gt;Where would be the appropriate place to send this suggestion in to Splunk to see if that's something they'd be interested in implementing? I tried checking the ideas submission, but there are no categories where this idea would fit.&lt;/P&gt;&lt;P&gt;I think it would be awesome if one day we could have Splunk syntax highlighting support in Slack (and also PasteBin, but there's a lot less people using that lol).&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2023 21:30:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Random/Splunk-language-mode-for-syntax-highlighting-for-codemirror/m-p/657495#M1930</guid>
      <dc:creator>chadbaldwin</dc:creator>
      <dc:date>2023-09-13T21:30:23Z</dc:date>
    </item>
  </channel>
</rss>

