-
Notifications
You must be signed in to change notification settings - Fork 66
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
Is it possible to export the markdown to well-looked pdf or html? #35
Comments
There is not currently a way to do this. However, this is a feature I have been thinking about and something I need myself, since I sometimes need to generate standalone answer keys and also in some cases plain PDF or HTML versions of exams (not QTI). I'm marking this as a feature to add in the future. Unless someone else implements this before I do, probably the absolute earliest this could be available would be February. Depending on the complexity of what you need, there may be ways to get something that works right now. For example, with multiple-answer questions, you could create a copy of the quiz file, and then use a regex to replace |
Thank you. Now I plan to use LaTeX first and then use python to parse LaTeX to convert it to the markdown format. There is actually a project converting LaTeX to QTI. However, multiple-answer questions are not supported there, but I need them. |
I short-run workaround is to use the rpy2 module to call the "exams2html" or "exams2pdf" function from the "exams" package in R. This isn't elegant but could work. |
There is now basic support for exporting solutions in Pandoc Markdown, PDF, and HTML formats in the dev version on GitHub. See |
Thank you! |
Thank you very much for the package. It is very helpful since currently most exams are moved online. One issue is that, since the syntax here is not the same as the markdown syntax, (e.g. in multiple-answer questions,
[*]
will make]
italic), I wonder if there is a way to export the markdown into, e.g. pdf or HTML with the correct format (e.g. the correct choice could be in bold).The text was updated successfully, but these errors were encountered: