Qi Xiao
|
0853835081
cmd/elvmdfmt: Fail when input uses unsupported features.
|
hai 1 ano |
Qi Xiao
|
a811f33916
pkg/md/fmt.go: Use strings.Builder in FmtCodec.
|
hai 1 ano |
Qi Xiao
|
98b6399dcf
pkg/md/fmt.go: Handle trailing hard line break when reflowing.
|
hai 1 ano |
Qi Xiao
|
ad55639b81
pkg/md: Add more tests against reflowing.
|
hai 1 ano |
Qi Xiao
|
03beb029ce
pkg/md/fmt.go: Support reflowing to fit a certain width.
|
hai 1 ano |
Qi Xiao
|
504e507ef8
pkg/md/fmt.go: Escape forbidden characters inside autolinks.
|
hai 1 ano |
Qi Xiao
|
a0d308d23c
pkg/md/fmt.go: Stop incrementing ordered list item's number at 9 9's.
|
hai 1 ano |
Qi Xiao
|
8c0e2e17da
pkg/md/fmt.go: Introduce an intermediate output for inline formatting.
|
hai 1 ano |
Qi Xiao
|
25c3e37e9b
pkg/md: Relax FmtCodec's requirements for the input.
|
hai 1 ano |
Qi Xiao
|
a4589bcdf0
pkg/md: Refine formatting style.
|
hai 1 ano |
Qi Xiao
|
b901b49f12
cmd/elvmdfmt: Split Markdown formatting into own command, supporting -w and -d.
|
hai 1 ano |
Qi Xiao
|
ef5acc9c4b
pkg/md/fmt.go: Avoid trailing spaces in blank lines.
|
hai 1 ano |
Qi Xiao
|
9c1c0c923e
pkg/md: Fix more bugs found by fuzzing.
|
hai 1 ano |
Qi Xiao
|
d30cf3e9ab
pkg/md/fmt_test.go: Remove test for the idempotency of FmtCodec.
|
hai 1 ano |
Qi Xiao
|
6fabd0f6a8
pkg/md: Fix numerous corner cases found by fuzzing.
|
hai 1 ano |
Qi Xiao
|
f278185904
pkg/md/fmt.go: Fix how new stanzas are introduced.
|
hai 1 ano |
Qi Xiao
|
4996be7221
pkg/md: Fix nil pointer access in processEmphasis.
|
hai 1 ano |
Qi Xiao
|
57cde859b6
pkg/md: Don't support nested emphasis or strong emphasis in FmtCodec.
|
hai 1 ano |
Qi Xiao
|
6cb2a1f50d
cmd/elvmd: Consolidate mdfmt and mdtrace into elvmd.
|
hai 1 ano |
Qi Xiao
|
1320f16b5f
pkg/md: Fix more bugs discovered by fuzzing.
|
hai 1 ano |
Qi Xiao
|
d1f09b47de
pkg/md: Fix and simplify insertion of hard line breaks.
|
hai 1 ano |
Qi Xiao
|
96e4f75e43
Add a new "mdtrace" for debugging the md package with the trace codec.
|
hai 1 ano |
Qi Xiao
|
b61dc859ad
pkg/md: Add fuzz tests, and fix some bugs found by them.
|
hai 1 ano |
Qi Xiao
|
dddc5d273e
pkg/md: Handle code and HTML blocks with missing closers.
|
hai 1 ano |
Qi Xiao
|
9b901b2508
pkg/md: Test that FmtCodec is idempotent.
|
hai 1 ano |
Qi Xiao
|
eb4a84540a
pkg/md/fmt.go: Improve escaping.
|
hai 1 ano |
Qi Xiao
|
947bcc0eb6
pkg/md: Separate block and inline ops.
|
hai 1 ano |
Qi Xiao
|
289f3dfb46
pkg/md/fmt_test.go: Enable most supplemental test cases.
|
hai 1 ano |
Qi Xiao
|
e16ab05078
pkg/md/fmt.go: Format link destination and title.
|
hai 1 ano |
Qi Xiao
|
db56c9b318
pkg/md: Alternate between * and _ for consecutive OpEmphasisStart's.
|
hai 1 ano |