You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Codebraid is currently written as a command-line application. At the moment, I would recommend using it via subprocess.run(). If you want to avoid creating/reading temp files, you could use subprocess.PIPE to read the output from stdout.
I plan to make Codebraid usable as a library as well at some point, which would be more ideal for your case. It will probably be a while before library usage is possible, since several additional features need to be added first, and those may result in significant refactoring. If you want to use it as a library right now, take a look at cmdline.py. Just be aware that there are currently no stability guarantees for anything besides command-line usage.
Pandoc will always be necessary, because Pandoc is being used to parse the Markdown in addition to any format conversions.
I try to make quiz sheet for classroom. In the sheet, there is only the choice question. During the preparation step, the choice items of every question are set randomly, and the right choice item(s) are marked( of cause I can not show the answer to the student); as a result, I can use program to score the returned sheet.
In this case, I think it will be safer if I prepare the quiz sheet as string in memory other than store it as a file on harddisk
In my case, I convert a markdown file to HTML which then is rendered with QT. The main code is
as you may have noticed, the contain
pageSource
is used here. If an HTML file is used, an extra step has to be performedSo what I suggest is
and in this case, I think pandoc is not necessary, so I set ignorePandoc=True
Thanks
The text was updated successfully, but these errors were encountered: