The Markdown bundle:
- Correctly highlights hyphen-delimited bullet lists, and - Correctly translates hyphen-delimited bullet lists to HTML, but - Does not allow the writing of such lists! Instead, hyphen-tab creates a horizontal line.
This is a problem because:
- Users may want to use hyhpens to demark bulleted lists instead of asterisks or plus signs for visual reasons
- Users may want to use hyhpens to demark bulleted lists instead of asterisks or plus signs because the hyphen is the only punctuation of those options which does not require use of the Shift button
- This behavior occurs even when converting a paragraph to a bulleted list item (result is "----------[...]---previous paragraph text")
A suggested fix is:
- Force users to type two hyphens for the horizontal-line auto-completion
Thanks,
Alan Hogan
On 2008-Dec-4, at 6:06 PM, textmate@alanhogan.com wrote:
- Does not allow the writing of such lists! Instead, hyphen-tab
creates a horizontal line.
What behavior do you expect when typing '-⇥'? Or to ask another way, why do you want to hit ⇥ after a hyphen? To get a single space? Why not hit the spacebar for this?
Typing '*⇥' or '+⇥' doesn't seem to do anything. Why should '-' be any different?
I don't help maintain this bundle, I'm just trying to understand if I'm missing some cool list-writing feature.
On 5 Dec 2008, at 00:06, textmate@alanhogan.com wrote:
The Markdown bundle:
- Correctly highlights hyphen-delimited bullet lists, and
- Correctly translates hyphen-delimited bullet lists to HTML, but
- Does not allow the writing of such lists! Instead, hyphen-tab
creates a horizontal line.
But, looking at your list above, wouldn’t you create the list with hypen-space?
A suggested fix is:
- Force users to type two hyphens for the horizontal-line auto-
completion
I think doing lists with hyphen-tab (as opposed to hyphen-space) is rare unlike putting horizontal lines below headings (that is one of the ways you make h2 headings in Markdown) so unless others feel strongly about this, I’d prefer to keep the current default behavior.
You can always change it locally if it is clashing with your preferred way of entering lists.
On Sat, Dec 6, 2008 at 6:31 AM, Allan Odgaard mailinglist@textmate.org wrote:
On 5 Dec 2008, at 00:06, textmate@alanhogan.com wrote:
The Markdown bundle:
- Correctly highlights hyphen-delimited bullet lists, and
- Correctly translates hyphen-delimited bullet lists to HTML, but
- Does not allow the writing of such lists! Instead, hyphen-tab
creates a horizontal line.
But, looking at your list above, wouldn't you create the list with hypen-space?
A suggested fix is:
- Force users to type two hyphens for the horizontal-line auto-
completion
I think doing lists with hyphen-tab (as opposed to hyphen-space) is rare unlike putting horizontal lines below headings (that is one of the ways you make h2 headings in Markdown) so unless others feel strongly about this, I'd prefer to keep the current default behavior.
You can always change it locally if it is clashing with your preferred way of entering lists.
Personally, I'd actually go even further, something like 3 dashes + tab to draw a horizontal line; but I have no problem making that change locally.