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

Suggestion: headers beyond h2 #38

Closed
supersym opened this issue Jan 12, 2013 · 1 comment
Closed

Suggestion: headers beyond h2 #38

supersym opened this issue Jan 12, 2013 · 1 comment

Comments

@supersym
Copy link

Is it perhaps an option to allow some form of shorthand notation like instead of doing

\#\#\#\#\# something

you'd allow the use of

#5 something or
#h5 something etc.

to avoid the closing of multi-line comments? I'd might even suggest logic that goes as far as replacing any instances of #### and ##### and ###### (ends at 6 right?) because there is no sane use-case imaginable that would justify such a use intended to be coffeescript comments (this must be intended as headers, right?) but this might go a bit too far for certain people I guess...

Just my two cents...

@omarkhan
Copy link
Owner

I'd prefer to stick to markdown rather than add new syntax. I kind of regret the \# escaping I put in, as it causes normal markdown parsers to fail.

You can always use <h3>html tags</h3> if you prefer.

I don't see how we can replace #### in block comments in a reliable way.

I suppose the cleanest solution would be to submit a patch for the coffeescript compiler that would allow escaping sequences of 3 or more # characters in block comments.

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