|
|
@ -6,10 +6,12 @@ import { EditorApi } from 'remix-plugin' |
|
|
|
const profile = { |
|
|
|
const profile = { |
|
|
|
displayName: 'source highlighters', |
|
|
|
displayName: 'source highlighters', |
|
|
|
name: 'sourceHighlighters', |
|
|
|
name: 'sourceHighlighters', |
|
|
|
methods: ['highlight', 'discardHighlight'], |
|
|
|
|
|
|
|
description: 'service - highlight source code' |
|
|
|
description: 'service - highlight source code' |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// EditorApi:
|
|
|
|
|
|
|
|
// - methods: ['highlight', 'discardHighlight'],
|
|
|
|
|
|
|
|
|
|
|
|
class SourceHighlighters extends EditorApi { |
|
|
|
class SourceHighlighters extends EditorApi { |
|
|
|
|
|
|
|
|
|
|
|
constructor () { |
|
|
|
constructor () { |
|
|
|