-
Notifications
You must be signed in to change notification settings - Fork 189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automatically check documentation for compile errors #104
Comments
Important to note that meta-data seems to be allowed to be stored after the specified language in the info string: https://github.github.com/gfm/#example-112 That could be used for defining the setup for a code block. |
This currently only works in Example using a "setup" for the code block:
Example of ignoring a compile error:
It also uses this file to define all the globals: https://github.com/dsherret/ts-simple-ast/blob/master/docs/_script-templates/main.ts |
Hmmm... seems like github is not following https://github.github.com/gfm/#example-112 for how markdown should be displayed on github pages. Edit: I emailed github pages support. |
GitHub pages gave a very helpful reply. I need to add |
…n't follow github flavored markdown spec." This reverts commit 559c7af.
…ing the documentation (instead of the package) Also, improve performance.
…ing the documentation (instead of the package) Also, improve performance.
…n't follow github flavored markdown spec." This reverts commit 559c7af.
…ing the documentation (instead of the package) Also, improve performance.
It should be very easy to check the documentation for compile errors. I don't think this needs to be that flexible. The following should be beneficial enough for now:
Edit (2018-04-17): I'll probably be moving and improving this functionality out into a library sometime
Edit (2018-07-21): Using "configuration comments" (https://github.com/eslint/eslint-plugin-markdown) would probably be a better idea than storing meta-data in the first line of the code block.
The text was updated successfully, but these errors were encountered: