1
0
mirror of https://github.com/golang/go synced 2024-11-05 18:26:10 -07:00
go/present/testdata/README
Russ Cox e41bc02694 present: add end-to-end rendering test
See testdata/README for test format.
This will make it easier to fix problems and not regress.
Markdown tests in followup CL (with bug fixes).

Change-Id: I5dedca26d3c29fd428066ffb38c6605343784a19
Reviewed-on: https://go-review.googlesource.com/c/tools/+/224957
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Andrew Bonventre <andybons@golang.org>
2020-03-23 17:17:23 +00:00

11 lines
516 B
Plaintext

This directory contains test data for present's TestTestdata.
Each file named *.p or *.md is expected to contain a present
article, then a --- line, then the HTML output for that article.
By convention, testdata files with a .p extension use legacy present
syntax, while testdata file with a .md extension use Markdown.
This is only a convention: the Markdown syntax must still begi
with "# " to be recognized as Markdown by the present parser.
Other files in this directory are supporting files for the articles.