Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend markdown #527

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Extend markdown #527

wants to merge 4 commits into from

Conversation

pyrog
Copy link
Contributor

@pyrog pyrog commented Jan 8, 2015

fix #517 but also #492, #456.

It's "easy" to fix #132 (just need to add showdown attribute in any html tag in the .mako)

<p showdown>this **allow** Markdown syntax</p>

Theses commits are just a draft 😉 but it works if you want test it and send me comments 😄
I remove bleach everywhere (except for tasks messages) so administrators and projects managers could use HTML Tags…
But I haven't yet tested it

Todo:

  • Create/modify showdown extension to link to osmtm users (actually tweeters users)
    why python code replace users name by users id ?
  • Extend table syntax (and add css style sheet)
  • Extend headers syntax #Header 1 ##Header 2…
  • Add special syntax for buttons, admonitions…
  • Add Mardown preview for new MD fields

@pyrog
Copy link
Contributor Author

pyrog commented Jan 14, 2015

nosetest fail because I remove @user management ?

self.assertTrue('@user2' in res)

Or because if should add osmtm/static/js/lib/showdown folder in the commit ?
(setup / git can't install it automatically on the server ?)

At this point, it's not a problem if you want to test Markdown "everywhere" 😄 (with the javascript lib Showdown only.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Extend MarkDown Instructions structure - Project editing - Markdown for entities to map
1 participant