|
|
@ -290,7 +290,7 @@ const md = new MarkdownIt({
|
|
|
|
})
|
|
|
|
})
|
|
|
|
.use(underline)
|
|
|
|
.use(underline)
|
|
|
|
.use(mdEmoji)
|
|
|
|
.use(mdEmoji)
|
|
|
|
.use(mdTaskLists, {label: true, labelAfter: true})
|
|
|
|
.use(mdTaskLists, {label: false, labelAfter: false})
|
|
|
|
.use(mdExpandTabs)
|
|
|
|
.use(mdExpandTabs)
|
|
|
|
.use(mdAbbr)
|
|
|
|
.use(mdAbbr)
|
|
|
|
.use(mdSup)
|
|
|
|
.use(mdSup)
|
|
|
@ -627,7 +627,7 @@ export default {
|
|
|
|
hint: async (cm, options) => {
|
|
|
|
hint: async (cm, options) => {
|
|
|
|
const cur = cm.getCursor()
|
|
|
|
const cur = cm.getCursor()
|
|
|
|
const curLine = cm.getLine(cur.line).substring(0, cur.ch)
|
|
|
|
const curLine = cm.getLine(cur.line).substring(0, cur.ch)
|
|
|
|
const queryString = curLine.substring(curLine.lastIndexOf('[')+1,curLine.length-2)
|
|
|
|
const queryString = curLine.substring(curLine.lastIndexOf('[') + 1, curLine.length - 2)
|
|
|
|
const token = cm.getTokenAt(cur)
|
|
|
|
const token = cm.getTokenAt(cur)
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
const respRaw = await this.$apollo.query({
|
|
|
|
const respRaw = await this.$apollo.query({
|
|
|
|