Opened 12 years ago

Last modified 12 years ago

#338 closed defect (FIXED)

Inform users of Markdown and other formatting options

Reported by: maiki interi Owned by: Jef van Schendel
Priority: trivial Milestone:
Component: ui Keywords:
Cc: Parent Tickets:

Description

Riding on top of `#689 </issues/689>`_, it took me a while to
figure out that Markdown could be used (after HTML and Textile, I
ended up figuring it out from looking at closed issues). I don't
have any particular suggestion, but maybe an info box on the side
or the footer could indicate what can be used to format their
text.



Change History (6)

comment:1 by Jef van Schendel, 12 years ago

Owner: set to Jef van Schendel
I agree. :)

And since I'm working on the comment section anyway, I'll grab this
one along.



comment:2 by maiki interi, 12 years ago

Groovy!

I've been thinking about how I would like this to work, looking at
what other sites do. For example, Redmine has the "Text formatting"
link in the upper-right corner of the text box. It opens a new
window. While that seems to work okay, it both annoys me, and makes
me wonder if that is accessible. What happens in JAWS? Or on a
mobile device?

I am playing with templates, so a consideration is how different
themes will handle messages like this, and at which point do we add
them (views versus templates).

Anyhow, looking forward to what you come up with.



comment:3 by Jef van Schendel, 12 years ago

Status: NewClosed
I've given the comment section a small makeover and it now includes
the text "Type your comment here. You can use Markdown for
formatting.", where "Markdown" links to
`http://daringfireball.net/projects/markdown/basics <http://daringfireball.net/projects/markdown/basics>`_.

A bit crude maybe, but it works. This text only appears after
you've clicked "Add comment" so it isn't visible by default.

I decided against adding a mini-tutorial (as used by Redmine or
Reddit) because it'll add complexity and a simple link works on
every platform (you've got a good point about popups and
accessibility). We can always add it later though. :)



comment:4 by Aleksej, 12 years ago

Jef van Schendel wrote:

    I've given the comment section a small makeover and it now includes
    the text "Type your comment here. You can use Markdown for
    formatting.", where "Markdown" links to


Thanks Jef. There is a few other places left:


-  Media description editing (for media already uploaded)
-  Upload page
-  User bio (issue `#410 </issues/410>`_)



comment:5 by Jef van Schendel, 12 years ago

Done!

`https://gitorious.org/mediagoblin/mediagoblin/commit/8545cfc97d9336b100881bd3ebafd4a5f4882dd3/diffs/9c196287ad26f52acb38d6c37560848da23151a6 <https://gitorious.org/mediagoblin/mediagoblin/commit/8545cfc97d9336b100881bd3ebafd4a5f4882dd3/diffs/9c196287ad26f52acb38d6c37560848da23151a6>`_



comment:6 by Will Kahn-Greene, 12 years ago

The original url for this bug was http://bugs.foocorp.net/issues/690 .
Relations:
#337: related

Note: See TracTickets for help on using tickets.