# remark [![Build Status][build-badge]][build-status] [![Coverage Status][coverage-badge]][coverage-status] [![Chat][chat-badge]][chat] The [**remark**][remark] processor is a markdown processor powered by [plug-ins][plugins]. * Interface by [**unified**][unified] * [**MDAST**][mdast] syntax tree * Parses markdown to the tree with [**remark-parse**][parse] * [Plug-ins][plugins] transform the tree * Compiles the tree to markdown using [**remark-stringify**][stringify] Don’t need the parser? Or the compiler? [That’s OK][unified-usage]. ## Installation [npm][]: ```sh npm install remark ``` ## Usage ```js var remark = require('remark'); var recommended = require('remark-preset-lint-recommended'); var html = require('remark-html'); var report = require('vfile-reporter'); remark() .use(recommended) .use(html) .process('## Hello world!', function (err, file) { console.error(report(err || file)); console.log(String(file)); }); ``` Yields: ```txt 1:1 warning Missing newline character at end of file final-newline remark-lint ⚠ 1 warning