Emojify markdown

This commit is contained in:
Jori Lallo
2016-06-05 23:24:05 -07:00
parent 6011de49a0
commit 33b823b66e
6 changed files with 30 additions and 2 deletions

View File

@@ -2,6 +2,7 @@ import { observable, action, computed, autorun } from 'mobx';
import { client } from 'utils/ApiClient';
import localforage from 'localforage';
import { browserHistory } from 'react-router';
import emojify from 'utils/emojify';
const DOCUMENT_EDIT_SETTINGS = 'DOCUMENT_EDIT_SETTINGS';
@@ -10,7 +11,7 @@ const parseHeader = (text) => {
const match = firstLine.match(/^#+ +(.*)$/);
if (match) {
return match[1];
return emojify(match[1]);
}
}