provide helper block

greggles - December 14, 2007 - 18:47
Project:Markdown with SmartyPants
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed
Description

The input format help text is so short that I found myself constantly clicking out to Daring Fireball to get the right information (which is two clicks) which became tedious quickly. I should just learn Markdown faster, but especially for novice users, this can be confusing/frustrating.

My solution was to add a cheat sheet block based on http://warpedvisions.org/projects/markdown-cheat-sheet/ and only show that on node/*/edit

If that seems like it should be included I'd be happy to make a patch.

#1

moshe weitzman - December 15, 2007 - 03:52

+1. with regions, one could move that to the form itself if desired ... if using of markdown, consider using live.module. i plan to install that on groups.drupal.org soon.

#2

greggles - January 19, 2008 - 20:13
Status:active» needs work

I dislike heredoc - not translateable and feels weird - but it works. Thoughts?

AttachmentSize
cheat_block_marksmarty_201021.patch 2.5 KB

#3

greggles - January 19, 2008 - 20:16

Also, do you think this module should bother with the visibility settings for node/add/* and node/*/edit or should that be up to the user?

I've obviously left it to the user.

#4

moshe weitzman - January 22, 2008 - 22:26
Status:needs work» fixed

i committed this. i removed the status=1 since i don't think a block should suddenly appear on your site. feel free to submit follow up patches.

#5

greggles - January 22, 2008 - 22:58

That works for me. I guess if someone really wants to translate it then it will see a patch to figure out how to do that pest.

Thanks!

#6

Anonymous (not verified) - February 5, 2008 - 23:13
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.