Skip to content

A space in front of A: in the Question/Answer Style to take advantage of Obsidian Folding #633

Open
@KentRKT2

Description

@KentRKT2

not sure why this -> "^Q: ((?:.+\n))\nA: (.+(?:\n(?:^.{1,3}$|^.{4}(?<!<!--).)))"
changed to this -> "^Q: ((?:.+\n))\n A: (.+(?:\n(?:^.{1,3}$|^.{4}(?<!<!--).)))" <- notice the space between the * and A:
does not make the following work
Q: Question
A: Answer <- notice the space before the A:

the reason I'm trying to get this to work is so I can take advantage of folding (https://help.obsidian.md/Editing+and+formatting/Folding) which allows me to 'hide' the Answers

any help appreciated. Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions