Skip to content
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 and Annotations #11

Open
jonathanrobie opened this issue Jun 14, 2017 · 3 comments
Open

Comments and Annotations #11

jonathanrobie opened this issue Jun 14, 2017 · 3 comments

Comments

@jonathanrobie
Copy link
Member

Treedown probably needs both:

  • Comments: Visible in the Treedown editor, not shown in user-oriented displays.
  • Annotations: Like comments, but displayed to the user

For comments, I like to have both comment-to-end-of-line and multiline comments.

I propose that annotations use Jenni Tennison's (: smiley face comment format :).

I propose that comment-to-end-of-line use either # (as in my current files) or //.

I propose that multi-line comments use the ubiquitous /* C-style comments */.

@jtauber
Copy link
Collaborator

jtauber commented Jun 15, 2017

I think if you're going to support /* */ then the comment-to-end-of-line should be // rather than #.

@jonathanrobie
Copy link
Member Author

Makes sense.

This is an obvious bike-shed issue - we could decide to have only one kind of comments, or two choose any reasonable pair for end-of-line and multiline comments. I suggest we make one decision quickly, and change it if there's a need to later.

@jtauber
Copy link
Collaborator

jtauber commented Jun 15, 2017

I don't have strong feelings either way

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants