patel22p / mytinytodo

Automatically exported from code.google.com/p/mytinytodo
0 stars 0 forks source link

Notes text formatting #48

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Having the ability to format the content of the note field would be useful. 
Example of options would be :

- bold
- italic
- underline
- bullet lists
- numbered lists

As a suggestion : Markdown is an easy-to-use way to format text. It is already 
used in many open-source projects, and appreciated.

Markdown *official* website : http://daringfireball.net/projects/markdown/
PHP-Markdown, which is a great PHP library to render this format to html : 
http://michelf.com/projects/php-markdown/

Thanks !
Nicolas

Original issue reported on code.google.com by nseb...@gmail.com on 11 Jan 2012 at 10:34

GoogleCodeExporter commented 8 years ago
Yes I agree, that would be very nice, fast and simple.
But there are some things with php-markdown:
I have integrated php-markdown into MTT. So results were not so nice because 
markdown is made to format text articles. It had big margins for headings and 
paragraphs.
And I think markdown syntax has long operators like:
#### (for H4)
** (double star for bold)
Here we need something fast to format. I like Jira's synax. It's so easy:
*bold*, _italic_
h1. Heading 1
h2. Heading 2
It would be more useful here, I think.

Original comment by gizzat on 1 Mar 2012 at 3:41

GoogleCodeExporter commented 8 years ago
Jira seems nice...It's probably just a matter of getting used to it. So 
Markdown, Jira or whatever markup syntax that would make formatting a breeze.

BTW, is there a way you can commit the work you did to integrate php-markdown 
in MTT here ? Thanks in advance.

Original comment by nseb...@gmail.com on 2 Mar 2012 at 10:04

GoogleCodeExporter commented 8 years ago
Found that Jira simply uses Textile markup.
Tried it out in mtt. Markdown is better :)
Here is my clone of MTT https://code.google.com/r/gizzat-mtt/
(hg clone) it, install and try it out.
Styles needs to be modified to display notes' content correctly.

Original comment by gizzat on 6 Mar 2012 at 2:34

GoogleCodeExporter commented 8 years ago
hey guys, i've started a clone of this project on github, because i really love 
it and want to continue the great work. If you want i can integrate that 
feature too (with your help).

https://github.com/alex-LE/myTinyTodo

Alex

Original comment by eagled...@gmail.com on 6 Apr 2012 at 9:48