Skip to main content

Allow Line Breaks in Teasers & Teaser Markdowns

Markdowns

<strong>bold text</strong>open and closing tags "strong"
<em>italics</em>open and closing tags "em"
line break <br> line breakbr between open and close bracket
<ins> underline </ins>underline
Style within an href Example: Forms available in <a href="https://stpud.watersmart.com/index.php/welcome" style="color: green; text-decoration: underline;">WaterSmart</a>
HTML tags: strong, em, br, ins, with examples; styled href link.
png just to see the markdown without having to login
Possibly unnecessary script 

<script src="https://cdnjs.cloudflare.com/ajax/libs/showdown/1.9.1/showdown.min.js"></script>
<script>
  $(function() {
    var converter = new showdown.Converter();
    $('.poc-instances .poc-instances-maincontent').each(function(i, cell) {
      var $cell = $(cell);
      var html = converter.makeHtml($cell.text());
      $cell.html(html);
    });
  });
</script>