I wrote a markdown to html converter

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/golang

Our great sponsors
  • SonarLint - Clean code begins in your IDE with SonarLint
  • ONLYOFFICE ONLYOFFICE Docs — document collaboration in your environment
  • CodiumAI - TestGPT | Generating meaningful tests for busy devs
  • InfluxDB - Access the most powerful time series database as a service
  • tiwi

    Build websites with Markdown

  • bleach

    Bleach is an allowed-list-based HTML sanitizing library that escapes or strips markup and attributes

    I don't know a golang library for it but https://github.com/mozilla/bleach is a python lib that escapes all the nasty javascript inputs.

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • GoLint

    [mirror] This is a linter for Go source code. (deprecated)

    golint is deprecated, and it’s no longer required to comment every exported variable/function/struct, etc.

  • blackfriday

    Blackfriday: a markdown processor for Go

    unless this is an exercise in "how to make my own markdown processor" I'd suggest using proven https://github.com/russross/blackfriday

  • commonmark-spec

    CommonMark spec, with reference implementations in C and JavaScript

    And if this is an exercise into that you can use a Markdown spec like CommonMark which is the spec Reddit and a variety of other sites use.

  • goldmark

    :trophy: A markdown parser written in Go. Easy to extend, standard(CommonMark) compliant, well structured.

    Yuin/Goldmark is the new standard Go Markdown processor. Black Friday is older.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts