# Tools to validate markdown documents as following the CommonMark specification

**URL:** <https://talk.commonmark.org/t/tools-to-validate-markdown-documents-as-following-the-commonmark-specification/2843>\
**Category:** Uncategorized\
**Created:** [June 21, 2018, 3:12am UTC](https://talk.commonmark.org/t/tools-to-validate-markdown-documents-as-following-the-commonmark-specification/2843 "2018-06-21T03:12:46Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![jgm](https://talk.commonmark.org/user_avatar/talk.commonmark.org/jgm/32/1360_2.png) [@jgm](https://talk.commonmark.org/u/jgm)\
**Post date:** [June 21, 2018, 9:03am UTC](https://talk.commonmark.org/t/tools-to-validate-markdown-documents-as-following-the-commonmark-specification/2843/3 "2018-06-21T09:03:10Z")

</div>

Quoting Section 2.1 of the spec:  
“Any sequence of characters is a valid CommonMark document.”

So a tool to tell you if you have a valid CommonMark  
document would be trivial. Of course, the meaning of  
the document might not be what you expect, but to test  
for this you’d need a tool that takes as input both  
the document and its intended interpretation.

Rohit Patnaik [noreply@talk.commonmark.org](mailto:noreply@talk.commonmark.org) writes:

---

_[View the full topic](https://talk.commonmark.org/t/tools-to-validate-markdown-documents-as-following-the-commonmark-specification/2843)._
