Skip to content

Commit

Permalink
[enhance] markdown: un-private help xhtml and string for external usage
Browse files Browse the repository at this point in the history
  • Loading branch information
Frederic Ye committed Nov 17, 2011
1 parent 07109e0 commit 02e9f2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stdlib/tools/markdown/markdown.opa
Expand Up @@ -443,7 +443,7 @@ Markdown = {{
main = generic_multiple(elt, (t->{text=t}))
Parser.parse(main,src):Markdown.private.content
@private help_string = "
help_string = "
You can enter a message using a Markdown-like syntax.
Here is a list of all elements recognized.

Expand Down Expand Up @@ -638,7 +638,7 @@ with a linebreak

"
@private help_xhtml = xhtml_of_string(default_options, help_string)
help_xhtml = xhtml_of_string(default_options, help_string)
@private @client toggle_help(src_id, res_id)(_) =
do Dom.toggle(#{src_id})
Expand Down

0 comments on commit 02e9f2e

Please sign in to comment.