-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
fix: removing code block in MarkdownConverter
#3960
Conversation
Sorry @bogdankostic , I made the change by branching off fro the branch that is still in an open PR: #3953 which is why it looks like there are more changes that needed.. I think it should appear normally once that branch is merged? Or should I create a new PR and close this? |
Should be okay, let's wait for the CI to become green in #3953 and then merge. |
@bogdankostic pausing this until tomorrow to add a test first |
@bogdankostic there's a test ready. As the default is set to 'True' it's a bit odd because it means I'm testing the scenarion where the code block is not removed |
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.
Looking good to me, thanks Tuana :)
* first attempt to add frontmatter of markdown to the metadata * remove bug fix * running black and pre-commit * moving the import line * adding a test * adding pydoc * fix to removing code blocks in markdown converter * adding a test * fixing a test * improving tests * adding language to code block
Related Issues
Proposed Changes:
change the line
html = markdown(markdown_text)
tohtml = markdown(markdown_text, extensions=["fenced_code"])
as suggested in the issue discussionChecklist
fix:
,feat:
,build:
,chore:
,ci:
,docs:
,style:
,refactor:
,perf:
,test:
.