1 shortcut to change text color + bold in HTML

Hi!

I’ve been using the copy to HTML plugin a lot recently to copy text from Obsidian to other apps and it works great with text coloring in HTML and any other kind of formatting (= it renders like in Obsidian all formatting)
I use formatting in bold with Editing Toolbar and ColoredText with custom shortcut, but the issue is that I need 2 different shortcuts for both coloring and making bold. I would like to find a way/plugin that has an all in on 1 formatting shortcut to do both a text coloring and bold in HTML. I specify in HTML, because if not, when I copying it, any other “in-house” coding system won’t be exportable in HTML (= I will have an ugly code when pasting elsewhere).

One promising candidate was Fast Text Color that do have multiple formatting in 1 shortcut option but its has its own coding (if I export its paste in Word I get litterally: ~={orange}this a test=~)

Any ideas?

What’s the final HTML look like in your note? Is it one styled tag or nested HTML tags? e.g.

some <b style='color: orange;'>orange</b>

some <span style='color: blue; font-weight: bold;'>blue</span>

or:

a <b><span style='color: salmon'>salmon</span></b> is a fish

You could try:

If you have a lot of different colors, I could see how it could get tedious making the rules and remembering the hotkeys, but if you only have a few, it may be fine. It’s worth a shot.

The Wrap plugin was the solution, thank you so much again Ariehen!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.