Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Add test-markdown-render. Does the same as test-wiki-render, but for markdown syntax. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: | 67f5df3b59981a28aa061b9a55a463af |
User & Date: | mgagnon 2016-06-06 21:06:34 |
Context
2016-06-07
| ||
01:26 | Fix typo in test_markdown_render function name. (no functional change since the command name was okay). check-in: c94b49ad user: mgagnon tags: trunk | |
2016-06-06
| ||
21:06 | Add test-markdown-render. Does the same as test-wiki-render, but for markdown syntax. check-in: 67f5df3b user: mgagnon tags: trunk | |
10:07 | Minor efficiency improvement by defining SQLITE_LIKE_DOESNT_MATCH_BLOBS=1 check-in: 47812bc7 user: jan.nijtmans tags: trunk | |
Changes
Changes to src/wiki.c.
1412 1413 1414 1415 1416 1417 1418 |
goto wiki_cmd_usage; } return; wiki_cmd_usage: usage("export|create|commit|list ..."); } |
> > > > > > > > > > > > > > > > > > > |
1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 |
goto wiki_cmd_usage; } return; wiki_cmd_usage: usage("export|create|commit|list ..."); } /* ** COMMAND: test-markdown-render ** ** Usage: %fossil test-markdown-render FILE ** ** Render markdown wiki from FILE to stdout. ** */ void test_markhown_render(void){ Blob in, out; db_find_and_open_repository(0,0); verify_all_options(); if( g.argc!=3 ) usage("FILE"); blob_zero(&out); blob_read_from_file(&in, g.argv[2]); markdown_to_html(&in, 0, &out); blob_write_to_file(&out, "-"); } |