#8338 Make markdown_syntax overloadable / extendable

unreleased
wont-fix
nobody
None
General
nobody
2019-11-18
2019-11-03
Ingo
No

The markdown syntax can be heavily extended by macros. I exepect, that those macros are usually part of an own theme. So it would make sense, that at least a theme is able to overload or extend the markdown syntax page.

Discussion

  • Dave Brondsema

    Dave Brondsema - 2019-11-05

    Hi - one possible way to do this is with template overrides. They let you override any file, including allura/Allura/allura/templates/markdown_syntax.html and then you could add more instructions there. See https://forge-allura.apache.org/docs/api/lib/package_path_loader.html for how to do it.

    A more formalized/structured way to do it would be nice though.

     
  • Ingo

    Ingo - 2019-11-17

    Thanks Dave! I was not aware of this override trick. for me this interface is flexible enough for the moment. Should we "won't fix" this ticket?

     
  • Dave Brondsema

    Dave Brondsema - 2019-11-18
    • status: open --> wont-fix
     
  • Dave Brondsema

    Dave Brondsema - 2019-11-18

    Sure, I'll do that. With a suitable workaround, this isn't very much of a priority any more then.

     

Log in to post a comment.