Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion src/CodeSnippetDisplay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ import {
coconutIcon,
sbtIcon,
rustIcon,
qsharpIcon
qsharpIcon,
sasIcon
} from './CodeSnippetLanguages';

/**
Expand Down Expand Up @@ -916,6 +917,18 @@ export class CodeSnippetDisplay extends React.Component<
/>
);
}
case 'SAS': {
return (
<sasIcon.react
tag="span"
height="16px"
width="16px"
right="7px"
top="5px"
margin-right="3px"
/>
);
}
case 'sbt': {
return (
<sbtIcon.react
Expand Down
7 changes: 7 additions & 0 deletions src/CodeSnippetLanguages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ import purescriptSVGstr from '../style/icon/language_icons/purescript.svg';
import qsharpSVGstr from '../style/icon/language_icons/qsharp.svg';
import rubySVGstr from '../style/icon/language_icons/ruby.svg';
import rustSVGstr from '../style/icon/language_icons/rust.svg';
import sasSVGstr from '../style/icon/language_icons/sas.svg';
import sbtSVGstr from '../style/icon/language_icons/sbt.svg';
import scalaSVGstr from '../style/icon/language_icons/scala.svg';
import schemeSVGstr from '../style/icon/language_icons/scheme.svg';
Expand Down Expand Up @@ -95,6 +96,7 @@ export const SUPPORTED_LANGUAGES = [
'Clojurescript',
'sbt',
'Guile',
'SAS',
'Stata',
'Racekt',
'SQL',
Expand Down Expand Up @@ -266,6 +268,11 @@ export const nodejsIcon = new LabIcon({
svgstr: nodejsSVGstr
});

export const sasIcon = new LabIcon({
name: 'custom-ui-components:sas',
svgstr: sasSVGstr
});

export const coconutIcon = new LabIcon({
name: 'custom-ui-components:coconut',
svgstr: coconutSVGstr
Expand Down
27 changes: 27 additions & 0 deletions style/icon/language_icons/sas.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.