Search

Hello,

Am I right that markdown does not have something for underline text. I have a page with text and the person who made it wants it like she typed it. With each header of a section underlined.

Regards,

Roelof

That’s a style matter, so you should alter the CSS to make those headings underlined.

Thanks for the tip but it's a big word document. So use of class is I think a lot of work for one document. Is there someone who know a better option ?

If the author makes the headings actual headings in Markdown, you can use CSS to select the h1/h2/h3/h4/h5/h6 tags and apply underlining without any additional classes. For example:

Markdown

## A heading

CSS

h2 { text-decoration: underline; }

Thanks, I did not think about using that way.

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details