mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 17:56:25 +00:00
Render codefence by codemirror rather than by hljs
This commit is contained in:
@@ -50,8 +50,8 @@ class NoteItem extends React.Component {
|
||||
|
||||
<div styleName='title'>
|
||||
{note.type === 'SNIPPET_NOTE'
|
||||
? <i styleName='title-icon' className='fa fa-fw fa-code'/>
|
||||
: <i styleName='title-icon' className='fa fa-fw fa-file-text-o'/>
|
||||
? <i styleName='title-icon' className='fa fa-fw fa-code' />
|
||||
: <i styleName='title-icon' className='fa fa-fw fa-file-text-o' />
|
||||
}
|
||||
{note.title.trim().length > 0
|
||||
? note.title
|
||||
|
||||
Reference in New Issue
Block a user