-
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
Comments in source file #2
Comments
You can use HTML comments I am interested in adding support for comments at the top level of a file (outside individual paragraphs etc.), so that anything can be commented out. One possibility would be to support HTML comments anywhere and then strip them out during processing. Another option would be a special top-level comment syntax. Perhaps something like |
I really like this idea. I just tried the and it doesn't seem to work. I get:
|
Being able to have comments in the source file would be great. I think it's important that those comments to not make it into the QTI file. My personal preference would be for line comments, for example treating all lines that start with a # character as a comment. |
I agree. In fact, as I'm making my first quiz using this I'm finding it very difficult to keep track of the different groups I have, their total points, etc. Comments would be really nice. |
In the last commit, I've added two types of comments at the top level of a document (not indented, outside all Markdown):
I've also modified the handling of HTML comments within Markdown content, so they are now stripped and no longer appear in QTI output in any form. |
Thanks so much @gpoore! I'm very grateful for your efforts in building this tool. I've created tools before and it's hard to maintain a decent tool without compensation. Your efforts are really appreciated! |
Thank-you, that is very helpful. I also appreciate all of the work you did with this.
Chris
From: Geoffrey Poore <notifications@github.com>
Sent: Tuesday, May 19, 2020 3:40 PM
To: gpoore/text2qti <text2qti@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Subject: Re: [gpoore/text2qti] Comments in source file (#2)
In the last commit, I've added two types of comments at the top level of a document (not indented, outside all Markdown):
* % line comments
* COMMENT...END_COMMENT multiline comments (delimiters on separate lines by themselves), which parallel the syntax used for question groups
I've also modified the handling of HTML comments within Markdown content, so they are now stripped and no longer appear in QTI output in any form.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#2 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ACQMNSKR23YY4YAJDVIT5CDRSLVBTANCNFSM4MZPFYOA>.
CAUTION: This email originated from outside the organization. Do not click links or open attachments unless you validate the sender and know the content is safe. Please forward this email to abuse@utm.edu<mailto:abuse@utm.edu> if you believe it is suspicious.
|
Is it possible to add comments to the source file that are not rendered in the QTI output? If so, what is the comment format?
The text was updated successfully, but these errors were encountered: