A markdown to teach text converter ORCA shell command for the GS based on md4c.
Go to file
Jeremy Rand ff039e5ee0 Implement some changes based on feedback from Kelvin:
- Add the window position resource first.  That way, if the style resource needs to grow, the window position resource will not need to be re-written.

- Do not dispose of a handle passed to the resource manager through AddResource.  The resource is owned by the resource manager after that.

- No need to make the resource as changed when adding a resource.  It is implied.

Also, rename the disk image from Distribution to md2teach.
2021-05-10 22:58:12 -04:00
md2teach Implement some changes based on feedback from Kelvin: 2021-05-10 22:58:12 -04:00
md2teach.xcodeproj Add more to the makefiles to support building both the shell command and the babelfish translator which is the next step in supporting markdown. 2021-05-06 23:43:31 -04:00
LICENSE Add a readme and license file. 2021-04-13 23:53:20 -04:00
README.md Review all uses of int and unsigned and promote them to int32_t or uint32_t as required. 2021-04-16 00:26:25 -04:00

README.md

md2teach

This repository is work-in-progress to try to use md4c to create a markdown to Teach text converter ORCA shell program for the Apple //GS. You should not try to use this tool because it doesn't work yet.

The goal really is to use this shell command from GoldenGate as part of my Apple2GSBuildPipeline in order to write documentation for GS projects in a more modern file format. Also, markdown is trivial to commit to git repositories but the presence of the resource fork in Teach files make them problematic.

The files md4c.c and md4c.h are (hopefully) slightly modified versions of the files from the md4c project. It is shocking how portable that code was and it worked almost immediately. I am marking up some of my changes with the comment tag GS_SPECIFIC. In general, many unsigned types were converted to uint32_t and int types converted to int32_t.