1
0
mirror of https://github.com/golang/go synced 2024-11-18 16:44:43 -07:00
Commit Graph

2 Commits

Author SHA1 Message Date
Russ Cox
2944c61d58 present2md: fix depth count for blogs with sections
Without the bug fix, you get ## followed by #### in the file.

Change-Id: I6af85debf4bc84f9e346732b5641eb3a4e7d7e83
Reviewed-on: https://go-review.googlesource.com/c/tools/+/223602
Reviewed-by: Andrew Bonventre <andybons@golang.org>
2020-03-17 20:55:21 +00:00
Russ Cox
4303120df7 cmd/present2md: add command to convert legacy present to Markdown-enabled present
Accepting Markdown in present is nice, but the job isn't done unless we
actually convert all our existing blog files to the new format. Otherwise we
have two different kinds of files to understand when working in that
directory. This tool lets us mechanically convert all the existing blog articles.

For golang/go#33955.

Change-Id: If8a8dd90eefa171f422644134d0571e2abe4c7cb
Reviewed-on: https://go-review.googlesource.com/c/tools/+/222847
Reviewed-by: Rob Pike <r@golang.org>
2020-03-13 20:55:30 +00:00