Skip to content

feat: support enable/disable hyper link by forceHyperLink option#368

Open
li-yechao wants to merge 1 commit intomikaelbr:masterfrom
li-yechao:master
Open

feat: support enable/disable hyper link by forceHyperLink option#368
li-yechao wants to merge 1 commit intomikaelbr:masterfrom
li-yechao:master

Conversation

@li-yechao
Copy link

@li-yechao li-yechao commented Apr 22, 2025

I need to diable hyper link but I can not use env FORCE_HYPERLINK=0, so I added an option forceHyperLink for marked-terminal

var defaultOptions = {
  // Boolean, force enable or disable hyper link, default is `undefined`
  // If undefined, it will dynamically determine whether the current environment supports hyperlink
  forceHyperLink: undefined
};

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.

1 participant