@d-healey Yeah not exactly, that's the problem, it's a bit offset and too low anyway for my interface.
SOLVED
Another thing, are you able to style the headline in the middle of a string?
I can with `code` but not with #headline... (tried with different level of ###)
Screenshot 2023-01-20 at 17.33.41.png
const var text = "This is normal text. #This is a headline. \`This is some code\`;
modalWindows.registerFunction("getAlertWindowMarkdownStyleData", function(obj)
{
obj.font = "Montserrat";
obj.headlineFont = "Montserrat";
obj.codeFont = "Andale Mono";
obj.textColour = Colours.whitesmoke;
obj.headlineColour = Colours.red;
obj.codeColour = Colours.orange;
obj.fontSize = 16.0;
return obj;
});
EDIT: Found it, it requires a \n before