[Feature Request] Markdown 支持代码高亮
原 issue 中提到的 flutter_highlight 最后更新是 2021 年,其 fork 版 flutter_highlighting 也已经停止维护约 10 个月。我的建议是迁移到支持代码高亮的 Markdown 库,markdown_widget。
@cryindevil Are you going to do this recently? If you aren't, maybe I'll have a try.
@cryindevil Are you going to do this recently? If you aren't, maybe I'll have a try.
Sure, I may not implementing it recently @HydrogenC
@w568w @singularity-s0
On the website of flutter_markdown it says:
By default, Markdown is not selectable. A caller may use the following ways to customize the selection behavior of Markdown: Set selectable to true, and use onTapText and onSelectionChanged to handle tapping and selecting events. Set selectable to false, and wrap Markdown with SelectionArea or SelectionRegion.
It seems that there's official support for SelectionArea, so is the fork https://github.com/singularity-s0/flutter_markdown_selectable still necessary?
This may no longer be necessary. You can test this yourself.