Discore's markdown implementation