diff options
author | Thanos Apollo <[email protected]> | 2023-12-29 00:36:17 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2023-12-29 00:36:17 +0200 |
commit | e09297d5a70571c283fd66289a97680f1e75f1fa (patch) | |
tree | bddc65d894a041766b3cdbf12b9b05031d74a372 /gnosis.el | |
parent | 36db18e0fe926df1e386e2b89d0d5a06528a6ed8 (diff) |
display: start with \n for the main/question part
Diffstat (limited to 'gnosis.el')
-rw-r--r-- | gnosis.el | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -127,8 +127,9 @@ WARNING: This function is still under development, DO NOT use this as is now." "Display main row for note ID." (let ((question (gnosis-get 'main 'notes `(= id ,id)))) (with-gnosis-buffer - (erase-buffer) - (fill-paragraph (insert (propertize question 'face 'gnosis-face-main)))))) + (erase-buffer) + (fill-paragraph (insert (concat "\n" + (propertize question 'face 'gnosis-face-main))))))) (defun gnosis-display--cloze-sentence (sentence clozes) "Display cloze sentence for SENTENCE with CLOZES." @@ -136,7 +137,8 @@ WARNING: This function is still under development, DO NOT use this as is now." (erase-buffer) (fill-paragraph (insert - (gnosis-cloze-replace-words sentence clozes (propertize gnosis-cloze-char 'face 'gnosis-face-cloze)))))) + (concat "\n" + (gnosis-cloze-replace-words sentence clozes (propertize gnosis-cloze-char 'face 'gnosis-face-cloze))))))) (defun gnosis-display--basic-answer (answer success user-input) "Display ANSWER. |