Replies: 1 comment 1 reply
-
There isn't a simple way to do that currently. Maybe there should be. I'll give it some thought. You could do it by post processing a Text instance, in a similar way to your link expander... |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm looking for a way to set a default style (such as "blue underline") for links, without having to specify this style on every [link] I create. This seems like a job for a theme, and indeed you can create arbitrary named styles that can then be mapped to whatever you like, even redefining something like "blue" to a completely different color if you wanted to. However, it's not as easy to refer to "link" in a theme, since it requires a URL.
So far, I haven't found a way in a theme to write a generic entry which applies to all links, allowing the new theme to take a URL as an argument similar to how link does, but adding other styles defined in that theme. Here's the kind of thing I have in mind:
Beta Was this translation helpful? Give feedback.
All reactions