-
Notifications
You must be signed in to change notification settings - Fork 4k
Fix Markdown Anchors bugs #3127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
vdonato
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we'll want to add an e2e test in the st_markdown script that checks that the styling for really long headers is fine. I'm not sure how hard it would be to take a snapshot of both a heading and something below it, though.
frontend/src/components/shared/StreamlitMarkdown/StreamlitMarkdown.tsx
Outdated
Show resolved
Hide resolved
|
@vdonato Ok, I added an e2e test to st_markdown which displays a long header and table in a block, then snapshots it. Also replied to your individual comments. |
* develop: Fix Markdown Anchors bugs (#3127) Unset fail_on_warning (#3134) Remove fail on warning Merge pull request #3126 from randyzwitch/docs_test Add s4a message to close active modals (#2893) Add fail_on_warning to build options Docutils 0.16 Put back Sphinx to 3.0.3 Modify docs for grammatical error Update Changelog to latest updates Up version to 0.80.0 Update change log Revert "Merge pull request #3029 from streamlit/fix-1117" Merge anchor headers feature branch into develop (#2983)
Closes #3115
Closes #3104
<h1>,<h2>, etc. toCustomHeader"unknown-anchor"in worst case)