pbek / QOwnNotes

QOwnNotes is a plain-text file notepad and todo-list manager with Markdown support and Nextcloud / ownCloud integration.
https://www.qownnotes.org/
GNU General Public License v2.0
4.62k stars 410 forks source link

Blockquotes aren't correctly formatted #2692

Closed GoustiFruit closed 1 year ago

GoustiFruit commented 1 year ago

Hi,

There is that glitch that is quite annoying. Here is a block of text that is supposed to be formatted on two lines:

Blockquotes are very handy in email to emulate reply text. This line is part of the same quote.

Expected behaviour

Should display something like:

| Blockquotes are very handy in email to emulate reply text. | This line is part of the same quote.

Screenshot_20221229_200030

Actual behaviour

| Blockquotes are very handy in email to emulate reply text. This line is part of the same quote.

Screenshot_20221229_195958

Steps to reproduce

Any blockquote gives the same erroneous format. For ex.

Blockquotes are very handy in email to emulate reply text.

This line is part of the same quote.

Should look like:

Blockquotes are very handy in email to emulate reply text.
This line is part of the same quote.

But this happens:

| Blockquotes are very handy in email to emulate reply text.

This line is part of the same quote.

Screenshot_20221229_200924

pbek commented 1 year ago

Can you please post an example markdown file? I don't seem to have an issue. And can you please post the output from the debug settings that you can copy when you get into the settings dialog in QOwnNotes and head over to the Debug section of it.

image

GoustiFruit commented 1 year ago

Hi,

Sorry for the delay.

I'm using the "Markdown Cheatsheet" from QOwnNotes. From your own screenshot, I see that you have the same problem: your raw blockquote is multilines, but it turns into one single line on the preview panel. The other problem that is not visible on your screenshot is that, if you insert an empty line inside the blockquote, it breaks the preview (see on my second screenshot)

Here are the debug informations:

QOwnNotes Debug Information

General Info

Current Date: ven. déc. 30 16:10:53 2022 Version: 22.11.8 Build date: Nov 23 2022 Build number: 997 Platform: linux Operating System: Linux 6.1.1-arch1-1 Build architecture: x86_64 Current architecture: x86_64 Release: AppImage Qt Version (build): 5.15.2 Qt Version (runtime): 5.15.2 Portable mode: no Settings path / key: /home/jbr/.config/PBE/QOwnNotes.conf Application database path: /home/jbr/.local/share/PBE/QOwnNotes/QOwnNotes.sqlite Application arguments: /home/jbr/Applications/QOwnNotes-x86_64.AppImage Qt Debug: 0 Locale (system): fr_FR Locale (interface): empty Primary screen resolution: 2560x1440 Icon theme: breeze-dark-qownnotes Notes in current note folder: 26 Calendar items: 0 Enabled scripts: 0

Server Info

serverUrl: empty appIsValid: no notesPathExists: empty connectionErrorMessage: empty

Spellchecking

Enabled: false Selected language: auto Language codes: en_AG, en_BS, en_BW, en_BZ, en_DK, en_GB, en_GB-large, en_GH, en_HK, en_IE, en_IN, en_JM, en_NA, en_NG, en_NZ, en_SG, en_TT, en_US, en_US-large, en_ZA, en_ZW, fr_BE, fr_CA, fr_CH, fr_FR, fr_LU Language names: English (Antigua & Barbuda), English (Bahamas), English (Botswana), English (Belize), English (Denmark), British English (United Kingdom), British English (United Kingdom) [grand], English (Ghana), English (Hong Kong SAR China), English (Ireland), English (India), English (Jamaica), English (Namibia), English (Nigeria), English (New Zealand), English (Singapore), English (Trinidad & Tobago), American English (United States), American English (United States) [grand], English (South Africa), English (Zimbabwe), français (Belgique), français canadien (Canada), français suisse (Suisse), français (France), français (Luxembourg) Application dictionaries path: /home/jbr/.local/share/PBE/QOwnNotes/dicts

Note folders

currentNoteFolderId: 1

Note folder Mes notes

id: 1 isCurrent: yes activeTagId: 0 localPath: /home/jbr/Notes remotePath: Notes cloudConnectionId: 1 isShowSubfolders: yes isUseGit: no allowDifferentNoteFileName: yes activeNoteSubFolder name: 00 - QOwnNotes, MarkDown database file: /home/jbr/Notes/notes.sqlite

Cloud connections

Cloud connection Par défaut

id: 1 isCurrent: yes serverUrl: empty username: empty accountId: empty

Enabled scripts

Settings

AboutDialog/geometry (QByteArray): <binary data> ActiveNoteHistoryItem (NoteHistoryItem): <binary data> Debug/fakeOldVersionNumber (QString): false Debug/fileLogging (QString): false DistractionFreeMode/editorWidthCustom (QString): 80 DistractionFreeMode/editorWidthMode (QString): 5 DistractionFreeMode/isEnabled (QString): false DistractionFreeMode/menuBarGeometry (QByteArray): <binary data> DistractionFreeMode/menuBarHeight (QString): 22 DistractionFreeMode/menuBarVisible (QString): true DistractionFreeMode/windowState (QByteArray): <binary data> Editor/ColorSchemes (QString): EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db Editor/CurrentSchemaKey (QString): EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db Editor/autoBracketClosing (QString): true Editor/autoBracketRemoval (QString): true Editor/disableCursorBlinking (QString): false Editor/editorWidthInDFMOnly (QString): true Editor/highlightCurrentLine (QString): true Editor/indentSize (QString): 4 Editor/removeTrailingSpaces (QString): true Editor/showLineNumbers (QString): true Editor/useTabIndent (QString): true Editor/vimMode (QString): false EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/BackgroundColorEnabled_-1 (QString): true EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/BackgroundColorEnabled_0 (QString): false EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/BackgroundColorEnabled_1 (QString): true EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/BackgroundColorEnabled_1000 (QString): false EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/BackgroundColorEnabled_1001 (QString): false EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/BackgroundColorEnabled_1002 (QString): false EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/BackgroundColorEnabled_1003 (QString): false EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/BackgroundColorEnabled_1004 (QString): false EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/BackgroundColorEnabled_1005 (QString): false EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/BackgroundColorEnabled_1006 (QString): false EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/BackgroundColorEnabled_12 (QString): false EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/BackgroundColorEnabled_13 (QString): false EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/BackgroundColorEnabled_14 (QString): false EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/BackgroundColorEnabled_15 (QString): false EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/BackgroundColorEnabled_16 (QString): false EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/BackgroundColorEnabled_17 (QString): false EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/BackgroundColorEnabled_18 (QString): true EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/BackgroundColorEnabled_19 (QString): true EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/BackgroundColorEnabled_2 (QString): true EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/BackgroundColorEnabled_21 (QString): true EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/BackgroundColorEnabled_22 (QString): true EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/BackgroundColorEnabled_23 (QString): true EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/BackgroundColorEnabled_25 (QString): true EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/BackgroundColorEnabled_28 (QString): true EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/BackgroundColorEnabled_3 (QString): true EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/BackgroundColorEnabled_4 (QString): true EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/BackgroundColorEnabled_7 (QString): false EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/BackgroundColorEnabled_8 (QString): false EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/BackgroundColor_-1 (QColor): #201f1f EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/BackgroundColor_0 (QColor): #333333 EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/BackgroundColor_1 (QColor): #333333 EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/BackgroundColor_1000 (QColor): #333333 EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/BackgroundColor_1001 (QColor): #333333 EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/BackgroundColor_1002 (QColor): #333333 EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/BackgroundColor_1003 (QColor): #333333 EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/BackgroundColor_1004 (QColor): #333333 EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/BackgroundColor_1005 (QColor): #333333 EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/BackgroundColor_12 (QColor): #ebebf0 EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/BackgroundColor_13 (QColor): #ebebf0 EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/BackgroundColor_14 (QColor): #ebebf0 EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/BackgroundColor_15 (QColor): #ebebf0 EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/BackgroundColor_16 (QColor): #ebebf0 EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/BackgroundColor_17 (QColor): #ebebf0 EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/BackgroundColor_18 (QColor): #333333 EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/BackgroundColor_19 (QColor): #333333 EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/BackgroundColor_2 (QColor): #333333 EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/BackgroundColor_21 (QColor): #444444 EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/BackgroundColor_22 (QColor): #3e3e44 EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/BackgroundColor_23 (QColor): #333333 EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/BackgroundColor_25 (QColor): #3e3c36 EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/BackgroundColor_28 (QColor): #3e3c36 EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/BackgroundColor_3 (QColor): #e4ffe4 EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/BackgroundColor_4 (QColor): #333333 EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/BackgroundColor_7 (QColor): #9eb6ff EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/BackgroundColor_8 (QColor): #dbf9e5 EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/Bold_12 (QString): true EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/Bold_13 (QString): true EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/Bold_14 (QString): true EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/Bold_15 (QString): true EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/Bold_16 (QString): true EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/Bold_17 (QString): true EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/Bold_21 (QString): false EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/Bold_8 (QString): true EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/FontSizeAdaption_12 (QString): 200 EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/FontSizeAdaption_13 (QString): 160 EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/FontSizeAdaption_14 (QString): 130 EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/FontSizeAdaption_16 (QString): 90 EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/FontSizeAdaption_17 (QString): 90 EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColorEnabled_-1 (QString): true EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColorEnabled_0 (QString): true EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColorEnabled_1 (QString): true EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColorEnabled_10 (QString): true EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColorEnabled_1000 (QString): true EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColorEnabled_1001 (QString): true EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColorEnabled_1002 (QString): true EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColorEnabled_1003 (QString): true EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColorEnabled_1004 (QString): true EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColorEnabled_1005 (QString): true EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColorEnabled_1006 (QString): true EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColorEnabled_11 (QString): true EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColorEnabled_12 (QString): true EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColorEnabled_13 (QString): true EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColorEnabled_14 (QString): true EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColorEnabled_15 (QString): true EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColorEnabled_16 (QString): true EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColorEnabled_17 (QString): true EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColorEnabled_18 (QString): true EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColorEnabled_19 (QString): true EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColorEnabled_2 (QString): true EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColorEnabled_20 (QString): true EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColorEnabled_21 (QString): true EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColorEnabled_22 (QString): true EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColorEnabled_23 (QString): true EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColorEnabled_24 (QString): true EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColorEnabled_26 (QString): true EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColorEnabled_29 (QString): true EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColorEnabled_3 (QString): true EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColorEnabled_30 (QString): true EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColorEnabled_4 (QString): true EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColorEnabled_5 (QString): true EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColorEnabled_6 (QString): true EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColorEnabled_7 (QString): true EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColorEnabled_8 (QString): true EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColorEnabled_9 (QString): true EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColor_-1 (QColor): #ffffff EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColor_0 (QColor): #fc7e00 EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColor_1 (QColor): #fc7e00 EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColor_10 (QColor): #ffff00 EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColor_1000 (QColor): #f92672 EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColor_1001 (QColor): #e6db74 EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColor_1002 (QColor): #75715e EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColor_1003 (QColor): #66d9ef EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColor_1004 (QColor): #e69f66 EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColor_1005 (QColor): #ae81ff EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColor_1006 (QColor): #a6e22e EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColor_11 (QColor): #686868 EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColor_12 (QColor): #9eb6ff EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColor_13 (QColor): #b2c8ff EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColor_14 (QColor): #c6d6ff EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColor_15 (QColor): #dae4ff EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColor_16 (QColor): #e4ecff EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColor_17 (QColor): #e4ecff EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColor_18 (QColor): #c8c8c8 EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColor_19 (QColor): #00aa00 EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColor_2 (QColor): #fc7e00 EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColor_20 (QColor): #e1e1e1 EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColor_21 (QColor): #d5d5d5 EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColor_22 (QColor): #81acdf EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColor_23 (QColor): #00aa00 EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColor_24 (QColor): #505050 EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColor_26 (QColor): #ff5500 EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColor_29 (QColor): #ff5a5a EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColor_3 (QColor): #00bf00 EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColor_30 (QColor): #c3ff82 EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColor_4 (QColor): #e3e2d6 EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColor_5 (QColor): #e1e1e1 EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColor_6 (QColor): #e1e1e1 EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColor_7 (QColor): #9eb6ff EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColor_8 (QColor): #9eb6ff EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/ForegroundColor_9 (QColor): #ffff00 EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/Italic_7 (QString): true EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/Name (QString): Dark - Perso EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/Underline_26 (QString): true EditorColorSchema-a901178b-1c87-41c3-bc35-6b75e6e725db/Underline_31 (QString): true FileDialog/LastPath (QString): /home/jbr/Documents/JOP FileDialog/LastPath-ImportTextFiles (QString): /home/jbr/Documents/JOP FileDialog/LastPath-Joplin Import (QString): /home/jbr/Documents/JOP IssueAssistantDialog/geometry (QByteArray): <binary data> JoplinImport/AttachmentImportCheckBoxChecked (QString): true JoplinImport/FolderImportCheckBoxChecked (QString): true JoplinImport/ImageImportCheckBoxChecked (QString): true JoplinImport/MetadataImportCheckBoxChecked (QString): false JoplinImport/TagImportCheckBoxChecked (QString): true JoplinImportDialog/geometry (QByteArray): <binary data> LastUpdateCheck (QDateTime): 2022-12-30T16:08:37.017 LocalTrashDialog/geometry (QByteArray): <binary data> MainWindow/geometry (QByteArray): <binary data> MainWindow/mainToolBar.iconSize (QString): 22 MainWindow/menuBarGeometry (QByteArray): <binary data> MainWindow/noteSubFolderTreeWidgetExpandState-1 (QStringList): Entraînement vélo, Yunohost - Fujitsu Lifebook S6420 - Freebox, QOwnNotes, Joplin, MarkDown MainWindow/noteTextEdit.code.font (QString): Source Code Pro,10,-1,0,50,0,0,0,0,0,Regular MainWindow/noteTextEdit.font (QString): Noto Sans,11,-1,0,50,0,0,0,0,0,Regular MainWindow/noteTextView.code.font (QString): Hack,10,-1,7,50,0,0,0,0,0 MainWindow/noteTextView.font (QString): Noto Sans,10,-1,0,50,0,0,0,0,0 MainWindow/noteTextView.ignoreCodeFontSize (QString): true MainWindow/noteTextView.refreshDebounceTime (QString): 600 MainWindow/noteTextView.rtl (QString): false MainWindow/noteTextView.underline (QString): true MainWindow/noteTextView.useEditorStyles (QString): true MainWindow/noteTextView.useInternalExportStyling (QString): true MainWindow/showNotesFromAllNoteSubFolders (bool): false MessageBoxOverride/insert-media-use-existing-image (QString): 16384 MessageBoxOverride/move-notes (QString): 16384 MessageBoxOverride/remove-folders (QString): 16384 MessageBoxOverride/remove-notes (QString): 16384 NoteFolder-1/NoteTabNameList (QString): X01 - Divers problèmes à régler NoteFolder-1/NoteTabStickinessList: empty NoteFolder-1/NoteTabSubFolderPathDataList (QString): Idées NoteFolder-1/allowDifferentNoteFileName (bool): true NoteHistory-1 (QVariantList): <variant list with 85 item(s)> NoteHistoryCurrentIndex-1 (QString): 84 PiwikClientId (QString): <hidden> ScriptRepositoryDialog/geometry (QByteArray): <binary data> ScriptRepositoryDialog/mainSplitterState (QByteArray): <binary data> SearchEngineId (QString): 2 SettingsDialog/geometry (QByteArray): <binary data> SettingsDialog/mainSplitterState (QByteArray): <binary data> ShowSystemTray (QString): false StartHidden (QString): false WelcomeDialog/geometry (QByteArray): <binary data> acceptAllExternalModifications (QString): false allowNoteEditing (bool): true allowOnlyOneAppInstance (QString): true appMetrics/disableAppHeartbeat (QString): false appMetrics/disableTracking (QString): false appMetrics/notificationShown (QString): true automaticNoteFolderDatabaseClosing (QString): false checkSpelling (QString): false closeTodoListAfterSave (QString): false cryptoKey (QString): <hidden> currentNoteFolderId (QString): 1 currentWorkspace (QString): initial cursorWidth (QString): 1 darkMode (QString): true darkModeColors (QString): true darkModeIconTheme (QString): true darkModeTrayIcon (QString): true defaultNoteFileExtension (QString): md demoNotesCreated (QString): true disableAutomaticUpdateDialog (QString): true disableSavedSearchesAutoCompletion (QString): false dockWasInitializedOnce (QString): true enableNoteTree (QString): false enableSocketServer (QString): true enableWebAppSupport (QString): false externalEditorPath (QString): empty fullyHighlightedBlockquotes (QString): true gitCommitInterval (QString): 30 gitExecutablePath (QString): empty gitLogCommand (QString): empty guiFirstRunInit (bool): true ignoreAllExternalModifications (QString): false ignoreAllExternalNoteFolderChanges (QString): false ignoreNoteSubFolders (QString): ^\. ignoredNoteFiles (QString): empty imageScaleDown (QString): false imageScaleDownMaximumHeight (QString): 1024 imageScaleDownMaximumWidth (QString): 1024 initialLayoutIdentifier (QString): minimal insertTimeFormat (QString): empty interfaceFontSize (QString): 11 interfaceLanguage (QString): empty internalIconTheme (QString): false itemHeight (QString): 23 legacyLinking (QString): false localTrash/autoCleanupDays (QString): 30 localTrash/autoCleanupEnabled (QString): true localTrash/supportEnabled (QString): true localTrashSplitterSizes (QByteArray): <binary data> markdownHighlightingEnabled (QString): true navigationPanelAutoSelect (QString): true navigationPanelHideSearch (QString): false networking/ignoreSSLErrors (QString): true networking/proxyType (QString): 2 newNoteAskHeadline (QString): false noteEditIsCentralWidget (QString): true noteFileExtensionList (QStringList): md, txt noteListPreview (QString): false noteSaveIntervalTime (QString): 10 noteSubfoldersPanelDisplayAsFullTree (QString): true noteSubfoldersPanelHideSearch (QString): false noteSubfoldersPanelOrder (QString): 0 noteSubfoldersPanelShowFullPath (QString): false noteSubfoldersPanelShowNotesRecursively (QString): false noteSubfoldersPanelShowRootFolderName (QString): true noteSubfoldersPanelSort (QString): 0 notesPanelOrder (QString): 0 notesPanelSort (QString): 0 notesPath (QString): /home/jbr/Notes notifyAllExternalModifications (QString): false overrideInterfaceFontSize (QString): false ownCloud/supportEnabled (QString): false ownCloud/todoCalendarBackend (QString): 3 ownCloud/todoCalendarCalDAVPassword (QString): <hidden> ownCloud/todoCalendarCalDAVServerUrl (QString): empty ownCloud/todoCalendarCalDAVUsername (QString): empty ownCloud/todoCalendarCloudConnectionId (QString): 1 ownCloud/todoCalendarDisplayNameList: empty ownCloud/todoCalendarEnabledList: empty ownCloud/todoCalendarEnabledUrlList: empty ownCloud/todoCalendarUrlList: empty ownCloudInfo/appIsValid (bool): false ownCloudInfo/connectionErrorMessage (QString): empty ownCloudInfo/notesPathExistsText (QString): empty ownCloudInfo/serverVersion (QString): empty previousWorkspace (QString): 4bba31f4-532c-40f9-a5ff-ca1bd8915f02 restoreCursorPosition (QString): true restoreLastNoteAtStartup (QString): true restoreNoteTabs (QString): true savedSearches/noteFolder-1 (QStringList): 0c31122026c1472597640f61f76a3d85, c8ead703ea64499795dd8b6d440b1e83, 147d4d1866834727b39a7096c7753b13, 143e24072bdf45b19dbc60e5abc2e6d7, 90dd479de5a649079dbdd56db3fc2947, 42f69e58083442ea9f6b5241e2525408, 7e03aa1aea6d42be837a9d7b1b8231fd, 6dfc85cc1d5a4bf3bb077ae4e2f48cb4, 1dd617b7f27f49cdb628b83b54a06920 showMatches (QString): true showMenuBar (bool): true showStatusBar (bool): true spellCheckLanguage (QString): auto systemIconTheme (QString): false taggingShowNotesRecursively (QString): false tagsPanelHideNoteCount (QString): false tagsPanelHideSearch (QString): false tagsPanelOrder (QString): 0 tagsPanelSort (QString): 0 todoCalendarSupport (QString): false toolbar/1/items (QStringList): action_New_note, action_Find_note, action_Remove_note, action_Open_note_in_external_editor, actionShow_local_trash, actionAllow_note_editing, , action_Back_in_note_history, action_Forward_in_note_history, , action_Find_text_in_note, actionReplace_in_current_note, , actionShow_versions, actionShow_trash, actionShare_note, , actionShow_Todo_List toolbar/1/name (QString): mainToolBar toolbar/1/title (QString): barre d'outils principale toolbar/2/items (QStringList): actionFormat_text_bold, actionFormat_text_italic, actionStrike_out_text, actionInsert_code_block, actionInsert_block_quote toolbar/2/name (QString): formattingToolbar toolbar/2/title (QString): barre d'outils de formatage toolbar/3/items (QStringList): actionInsert_text_link, actionInsert_image, actionInsert_current_time toolbar/3/name (QString): insertingToolbar toolbar/3/title (QString): barre d'outils d'insertion toolbar/4/items (QStringList): action_Encrypt_note, actionEdit_encrypted_note, actionDecrypt_note toolbar/4/name (QString): encryptionToolbar toolbar/4/title (QString): barre d'outils de chiffrement toolbar/5/items (QStringList): actionWorkspaceComboBox, actionStore_as_new_workspace, actionRemove_current_workspace, actionRename_current_workspace, actionSwitch_to_previous_workspace, actionUnlock_panels, , actionToggle_distraction_free_mode, action_Increase_note_text_size, action_Decrease_note_text_size, action_Reset_note_text_size toolbar/5/name (QString): windowToolbar toolbar/5/title (QString): barre d'outils de fenêtre toolbar/6/items (QString): action_Quit toolbar/6/name (QString): quitToolbar toolbar/6/title (QString): quitter la barre d’outils toolbar/size (QString): 6 useNoteFolderButtons (QString): false useUNIXNewline (QString): false webAppClientService/serverUrl (QString): wss://app.qownnotes.org webAppClientService/token (QString): <hidden> webSocketServerService/bookmarksNoteName (QString): Bookmarks webSocketServerService/bookmarksTag (QString): bookmarks webSocketServerService/commandSnippetsNoteName (QString): Commands webSocketServerService/commandSnippetsTag (QString): commands webSocketServerService/port (QString): 22222 workspace-4bba31f4-532c-40f9-a5ff-ca1bd8915f02/name (QString): Joplin workspace-4bba31f4-532c-40f9-a5ff-ca1bd8915f02/noteSubFolderDockWidgetVisible (QString): true workspace-4bba31f4-532c-40f9-a5ff-ca1bd8915f02/windowState (QByteArray): <binary data> workspace-initial/name (QString): Interface minimale workspace-initial/noteSubFolderDockWidgetVisible (QString): true workspace-initial/windowState (QByteArray): <binary data> workspaces (QStringList): initial, 4bba31f4-532c-40f9-a5ff-ca1bd8915f02

System environment

BROWSER: firefox EDITOR: nano HOME: /home/jbr LANG: fr_FR.UTF-8 LC_ADDRESS: fr_FR.UTF-8 LC_IDENTIFICATION: fr_FR.UTF-8 LC_MEASUREMENT: fr_FR.UTF-8 LC_MONETARY: fr_FR.UTF-8 LC_NAME: fr_FR.UTF-8 LC_NUMERIC: fr_FR.UTF-8 LC_PAPER: fr_FR.UTF-8 LC_TELEPHONE: fr_FR.UTF-8 LC_TIME: fr_FR.UTF-8 LOGNAME: jbr MAIL: /var/spool/mail/jbr PATH: /usr/local/sbin:/usr/local/bin:/usr/bin:/var/lib/flatpak/exports/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/var/lib/snapd/snap/bin QT_QPA_PLATFORMTHEME: qt5ct QT_STYLE_OVERRIDE: kvantum SHELL: /bin/bash SYSTEMD_EXEC_PID: 959 USER: jbr XDG_DATA_DIRS: /home/jbr/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share:/var/lib/snapd/desktop XDG_RUNTIME_DIR: /run/user/1000 DBUS_SESSION_BUS_ADDRESS: unix:path=/run/user/1000/bus DEBUGINFOD_URLS: https://debuginfod.archlinux.org DESKTOP_SESSION: plasma DISPLAY: :0 GTK2_RC_FILES: /etc/gtk-2.0/gtkrc:/home/jbr/.gtkrc-2.0:/home/jbr/.config/gtkrc-2.0 GTK3_MODULES: xapp-gtk3-module GTK_MODULES: canberra-gtk-module GTK_RC_FILES: /etc/gtk/gtkrc:/home/jbr/.gtkrc:/home/jbr/.config/gtkrc HISTCONTROL: ignoreboth:erasedups KDE_APPLICATIONS_AS_SCOPE: 1 KDE_FULL_SESSION: true KDE_SESSION_UID: 1000 KDE_SESSION_VERSION: 5 MOTD_SHOWN: pam PAGER: most PAM_KWALLET5_LOGIN: /run/user/1000/kwallet5.socket PWD: /home/jbr QT_AUTO_SCREEN_SCALE_FACTOR: 0 SESSION_MANAGER: local/PC-JB:@/tmp/.ICE-unix/911,unix/PC-JB:/tmp/.ICE-unix/911 SHLVL: 0 VISUAL: nano XAUTHORITY: /home/jbr/.Xauthority XCURSOR_SIZE: 24 XCURSOR_THEME: Breeze_Snow XDG_CONFIG_DIRS: /home/jbr/.config/kdedefaults:/etc/xdg XDG_CURRENT_DESKTOP: KDE XDG_SEAT: seat0 XDG_SEAT_PATH: /org/freedesktop/DisplayManager/Seat0 XDG_SESSION_CLASS: user XDG_SESSION_DESKTOP: KDE XDG_SESSION_ID: 1 XDG_SESSION_PATH: /org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE: x11 XDG_VTNR: 1 MANAGERPID: 769 INVOCATION_ID: b2da3005bb7149fe885a48e2869488cf JOURNAL_STREAM: 8:23283 LANGUAGE: empty APPIMAGE: /home/jbr/Applications/QOwnNotes-x86_64.AppImage ARGV0: /home/jbr/Applications/QOwnNotes-x86_64.AppImage APPDIR: /tmp/.mount_QOwnNoOjjtZV OWD: /home/jbr

pbek commented 1 year ago

From your own screenshot, I see that you have the same problem: your raw blockquote is multilines, but it turns into one single line on the preview panel.

That's how Markdown works and is intentional. (also in block quotes... right, @Waqar144?)

pbek commented 1 year ago

The other problem that is not visible on your screenshot is that, if you insert an empty line inside the blockquote, it breaks the preview (see on my second screenshot)

I still see it's formatted a block-quote. Which part do you mean? The background color? You seem to use a custom color schema, maybe best export it to test with.

GoustiFruit commented 1 year ago

OK, then that's really annoying. I searched the web and the only solutions seem to be:


On my second screenshot, in the editor, you'll see a blockquote of 3 lines. The second line is empty (trying to force a multiline block). In the preview panel, you'll see that only the first one is "highlighted", the next two are not (though they are indented, so the exported files, PDF and HTML, are not impacted).

pbek commented 1 year ago

double space at the end of the line (but it doesn't work with QOwnNotes)

They do work. Aren't they for you?

GoustiFruit commented 1 year ago

Yes, partially: only if the next line is not "empty" ( > 'spaces').

PS: there is something wrong. If I type 2 spaces at the end of the line, the preview is updated accordingly (new line). But after a few seconds, a new automatic refresh will concatenate the two lines in one again.

PS2: my first screenshot was done with Joplin. It does create a new line if there is a CR/LF at the end of the line, which should be the norm.

pbek commented 1 year ago

PS: there is something wrong. If I type 2 spaces at the end of the line, the preview is updated accordingly (new line). But after a few seconds, a new automatic refresh will concatenate the two lines in one again.

I cannot reproduce that, @Waqar144, can you?

GoustiFruit commented 1 year ago

I made a quick video screen capture of the problem: https://ufile.io/9ueq2mx7

pbek commented 1 year ago

You seem to use a custom color schema, maybe best export it to test with.

⬆️

Waqar144 commented 1 year ago

From your own screenshot, I see that you have the same problem: your raw blockquote is multilines, but it turns into one single line on the preview panel.

That's how Markdown works and is intentional. (also in block quotes... right, @Waqar144?)

Yes, I think that is correct. Newlines need to be explicit in markdown

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 1 year ago

This issue was closed because it has been inactive for 14 days since being marked as stale.