allan-simon / tatowiki

a wiki made with cppcms
Other
10 stars 8 forks source link

Rendering differences for lists between /edit/ and /show/ pages #56

Open liori opened 11 years ago

liori commented 11 years ago

See http://en.wiki.tatoeba.org/articles/show/gsoc_ideas.

allan-simon commented 11 years ago

(The indentation of list lists looks good in preview mode, but it doesn't actually get formatted that way on the resulting page.)

http://en.wiki.tatoeba.org/articles/edit/guidelines

### Don't change sentences that are correct.
 * Remember that even if a sentence sounds a bit unnatural to you, it
may be correct in another dialect of your language, so don't make
changes unless you are 100% sure it is wrong.
  * In such a case, go to one of the linked sentences in a language
you understand and contribute an alternate translation.
 * At this time, the Tatoeba Project seems to prefer to keep sentences
using archaic language.
allan-simon commented 10 years ago

note that html entity are interpreted in the "preview" while they are escaped by tatowiki engine

allan-simon commented 10 years ago

maybe doing like github, with a preview tab, so it's not regenerated on real time, which would have the avantage to permit to do an "ajax" call, to the actual tatowiki markdown generator, so that we will be sure everything is the same ?

jiru commented 10 years ago

maybe doing like github, with a preview tab, so it's not regenerated on real time, which would have the avantage to permit to do an "ajax" call, to the actual tatowiki markdown generator, so that we will be sure everything is the same ?

I second that idea. Maybe I’m wrong, but the live preview also consumes a lot of CPU for me while I’m typing, and it gets laggy: there is a noticable delay between keypress and letters showing up in the textarea. Whereas I’m rather looking at my text than the preview while typing, so it’s quite a waste.

allan-simon commented 10 years ago

what do you think of #93 ?