Convert markdown **bold** to bold face
This commit is contained in:
parent
c6eb41df35
commit
cb8ac81db0
1 changed files with 2 additions and 1 deletions
3
kagi.el
3
kagi.el
|
@ -170,6 +170,7 @@ same text will be charged.)"
|
||||||
|
|
||||||
(defconst kagi--markup-to-face
|
(defconst kagi--markup-to-face
|
||||||
'(("<b>" "</b>" 'kagi-bold)
|
'(("<b>" "</b>" 'kagi-bold)
|
||||||
|
("**" "**" 'kagi-bold)
|
||||||
("```" "```" 'kagi-code))
|
("```" "```" 'kagi-code))
|
||||||
"Contains a mapping from markup elements to faces.")
|
"Contains a mapping from markup elements to faces.")
|
||||||
|
|
||||||
|
@ -231,7 +232,7 @@ https://help.kagi.com/kagi/api/fastgpt.html for more information."
|
||||||
"--data" "@-")))
|
"--data" "@-")))
|
||||||
|
|
||||||
(defvar kagi--fastgpt-stubbed-response
|
(defvar kagi--fastgpt-stubbed-response
|
||||||
"{\"data\":{\"output\":\"<b>Test</b> response.\"}}"
|
"{\"data\":{\"output\":\"<b>Test</b> response in **bold**.\"}}"
|
||||||
"Stubbed response for the Kagi FastGPT endpoint.")
|
"Stubbed response for the Kagi FastGPT endpoint.")
|
||||||
|
|
||||||
(defvar kagi--summarizer-stubbed-response
|
(defvar kagi--summarizer-stubbed-response
|
||||||
|
|
Loading…
Reference in a new issue