Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Proposed display changes: headings with links, headings with bold / italics #27

Closed
h3retic opened this issue Jan 15, 2024 · 3 comments
Closed
Labels
bug Something isn't working

Comments

@h3retic
Copy link

h3retic commented Jan 15, 2024

Headings with links displayed incorrectly and non-functional navigation:

  • Occasionally I have headings with links in them, example: ### [[CSharp#|C#]] Process Injection:
  • The Table of Contents displayed for such a heading is: [}} Process Injection:](app://obsidian.md/index.html#{{CSharp#-C#}}%20Process%20Injection:)
  • As seen above the displayed link is }} Process Injection: and navigation does not work

Headings with bold or italic:

  • I often use headings with bold or italic, example: ## AV Signature Detection Bypass: **Custom Runner and Obfuscated Shellcode**
  • The Table of Contents displayed for such a heading is: [AV Signature Detection Bypass: **Custom Runner and Obfuscated Shellcode**](app://obsidian.md/index.html#AV%20Signature%20Detection%20Bypass:%20**Custom%20Runner%20and%20Obfuscated%20Shellcode**)
  • I would like to see the markdown for bold or italics stripped from the resulting ToC entry since it does not actually bold it in the link but displays the markdown "*" instead
@johansatge johansatge added the bug Something isn't working label Jan 19, 2024
@h3retic
Copy link
Author

h3retic commented Jan 27, 2024

I identified another issue with presentation: bullet point headings

I configure my ToC to show a list level minimum of 2 and maximum of 5, however I only see level 2 headings in the ToC. This is because I always bullet-point the subheadings. So I have:

Heading Level 2: Shows in ToC

  • Heading Level 3: Doesn't Show in ToC

@h3retic
Copy link
Author

h3retic commented Feb 11, 2024

I identified another issue with presentation: bullet point headings

I configure my ToC to show a list level minimum of 2 and maximum of 5, however I only see level 2 headings in the ToC. This is because I always bullet-point the subheadings. So I have:

Heading Level 2: Shows in ToC

  • Heading Level 3: Doesn't Show in ToC

I have since learned that Obsidian markdown doesn't support bullet-pointed headings and they shouldn't be used, so addressing this issue might not be worthwhile

@johansatge
Copy link
Owner

Hello! Links & markdown are now stripped in 1.3.1

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants