1
0
Fork 0

Convert markdown **bold** to bold face

This commit is contained in:
Bram Schoenmakers 2024-01-25 10:10:00 +01:00
parent c6eb41df35
commit cb8ac81db0
Signed by: bram
GPG key ID: 0CCD19DFDC63258F

View file

@ -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