-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(CodeBlock): fixed parsing of language from token.info and added s…
…upport for different code_block markup
- Loading branch information
Showing
4 changed files
with
48 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
import {codeBlockType} from './CodeBlockSpecs'; | ||
|
||
export {codeBlockNodeName, codeBlockLangAttr} from './CodeBlockSpecs'; | ||
export { | ||
codeBlockNodeName, | ||
codeBlockLangAttr, | ||
CodeBlockNodeAttr as CodeBlockAttr, | ||
} from './CodeBlockSpecs'; | ||
export const cbAction = 'toCodeBlock'; | ||
/** @deprecated Use `codeBlockType` instead */ | ||
export const cbType = codeBlockType; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters