Closed Stwissel closed 9 years ago
You can always use inline HTML:
final String markdown = "Do not press <kbd>Alt</kbd>+<kbd>F4</kbd> now!";
final String result = Processor.process(markdown);
System.out.println(result);
Will print:
<p>Do not press <kbd>Alt</kbd>+<kbd>F4</kbd> now!</p>
I did not find anything about having specific markdown tags/elements to support this feature neither on GitHub nor Stackoverflow. Do you have an links to what you mean exactly?
I think the example I saw used inline html for keyboard too. Just checked the doku and couldn't find any simpler one. I'm cool with the line HTML
Like Stackoverflow and Github (the stackoverflow are prettier)