4
15
Fork
You've already forked app
3

App recognizes headings inside raw text/code elements #21

Open
opened 2026年07月07日 16:10:44 +02:00 by avigatori · 0 comments

What happened

Inkycap will read the Not a headline element inside the raw text/string element as a headline in a file like this:

= Headline-BulletpointA-B-B.1-```
= Not a headliner
baz
\```-C-C.1

As a result Inkycap doesn't hide all the content when folding the = Headline element.
image

It also shows in the outline sidebar:
image

Steps to reproduce

  1. Create a note with the provided example contents above (remove the extra backslash)
    2.a. Hide the heading = Headline
    2.b. Look at outline sidebar

Expected behaviour

Inkycap should not look fore note elements inside of raw text elements

Platform / OS

Guix System (Linux 7.0.13), Flatpak 1.16.6

Install type

Flatpak

InkyCap version

26.7.2

Notes, logs, or screenshots

No response

### What happened Inkycap will read the `Not a headline` element inside the raw text/string element as a headline in a file like this: ```typ = Headline - Bullet point A - B - B.1 - ``` = Not a headliner baz \``` - C - C.1 ``` As a result Inkycap doesn't hide all the content when folding the `= Headline` element. ![image](/attachments/db1558d5-8e56-4d60-8c82-0f3ca9858fb7) It also shows in the outline sidebar: ![image](/attachments/ebaa9d14-a7cd-4957-a244-2707a0cdd8e1) ### Steps to reproduce 1. Create a note with the provided example contents above (remove the extra backslash) 2.a. Hide the heading `= Headline` 2.b. Look at outline sidebar ### Expected behaviour Inkycap should not look fore note elements inside of raw text elements ### Platform / OS Guix System (Linux 7.0.13), Flatpak 1.16.6 ### Install type Flatpak ### InkyCap version 26.7.2 ### Notes, logs, or screenshots _No response_
4.2 KiB
7.6 KiB
Sign in to join this conversation.
No Branch/Tag specified
main
v26.7.3
v26.7.2
v26.6.18
v26.6.16
v26.6.14
v26.6.12
26.6.10
v26.6.10
v26.6.8
26.6.6
v26.6.2
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
InkyCap/app#21
Reference in a new issue
InkyCap/app
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?