Comments (3)
it's very easy, and it's a very useful use case
from markdown_widget.
Within
PConfig
, in addition toonLinkTap
would it possible to add anonLinkLongPress
option?My specific use case would be to have an option to share the link without opening it.
Hi,
you can update to v1.0.9
and use like this
styleConfig: StyleConfig(
pConfig: PConfig(
linkGesture: (linkChild, url) {
return GestureDetector(
child: linkChild,
onTap: () => _launchURL(url),
onLongPress: => yourLongPressLogic(),
);
},
),
),
from markdown_widget.
This is perfect. Thank you!!
from markdown_widget.
Related Issues (20)
- custom config divider not work HOT 1
- 如何图片显示的圆角 HOT 3
- P blocks don't have dark mode by default HOT 3
- Custom CheckBox demo HOT 2
- Custom CheckBox demo HOT 2
- Custom checkBox align issue HOT 13
- flutter_hightlight 和 hgithlight两个库是否重复 HOT 1
- [Bug] Tab (\t) being replaced with new line (\n) in Pre element HOT 1
- [Question] How to get the maximum height required by the rendered widget. HOT 2
- Add a "copy to clipboard" for code like chatgpt HOT 3
- Table表格复制粘贴后,列之间没有tab制表符分隔,行之间也没有换行符 HOT 2
- Line breaks not working? HOT 1
- Code block copy and paste button HOT 1
- TocItemBuilderData 应该把 AutoScrollController 传进去,否则自定义 itemBuilder的时候无法使用 wrapByAutoScroll 功能 HOT 3
- Support for "mermaid"
- Code wrapper used in PreConfig only works for code blocks and not inline code HOT 2
- Improve Defualt Markdown Config and Documentation
- Link that jumps to a section in the page HOT 1
- Looks the code copied could lost the \n HOT 2
- When list item are more than 10, the 2 digit line number would be wrong position
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from markdown_widget.