New markdown editor breaks anchor tags #378
Labels
No labels
Focus: A11y
Focus: Admin/Meta
Focus: Authentication
Focus: Back-End
Focus: Database
Focus: Design & UX
Focus: Editor - Markdown
Focus: Editor - WYSIWYG
Focus: Export System
Focus: Front-End
Focus: Translations
Focus: View Customization
Is: Docs Update
Is: Enhancement
Is: Priority
Is: Security
Is: Upstream
Status
Blocked
Status
Open to discussion
Status
Out of scope
Status
Pending Validation
Type
API Request
Type
Bug Report
Type
Feature Request
Type
Happy feedback
Type
Maintenance
Type
Question
Type
Support
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
bookstack/bookstack#378
Loading…
Reference in a new issue
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?
For Bug Reports
Expected Behavior
On previous versions of Bookstack, using the Markdown editor, I was able to use sparing amounts of HTML when needed. Thus far, it had only been anchor tags, such as
<a name="blah" />. Using these on long documents, I was able to link to the tags to allow the reader to jump among topics.Actual Behavior
According to the release notes, v0.16 switched markdown editors to Markdown-IT. Unfortunately this does not appear to support any HTML tags. Any time I edit a page with anchor tags, or create a new page, the HTML code is displayed as-is.
If there's a workaround, or if you can be persuaded to switch back or offer the option of choosing our markdown flavor, I'd greatly appreciate it.
Hi @lxtv,
My apologies, I did not realise that
markdown-ithad that behavior by default.Looking at the documentation for
markdown-it, HTML can easily be enabled. I've marked this as a priority bug to be part of a bug-fix release this coming weekend.Oh great, thanks for the quick response. In the meantime, I did find a workaround: copying the tags from the sidebar navigation. This works because all my tags are associated with headers. But it'll be good to have the flexibility of HTML back.