Skip to content

Conversation

huangyxi
Copy link
Contributor

@huangyxi huangyxi commented Jul 3, 2024

@KristofferC KristofferC merged commit c30b072 into KristofferC:master Jul 3, 2024
@huangyxi
Copy link
Contributor Author

huangyxi commented Jul 3, 2024

Performance improvement:

if isdefined(Markdown, :lines)
    split_lines(s::AbstractString) = Markdown.lines(s)
else
    split_lines(s::AbstractString) = split(s, '\n')
end

@KristofferC
Copy link
Owner

Don't think it will matter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Markdown print error in 1.12.0-DEV

2 participants