Skip to content

Switch to markdown in all the Plugin info strings #678

Closed

Description

@nomis52

Right now the plugin info text is free form.

If we switched to markdown, then we could use a Javascript markdown renderer to make the description in web UI look prettier.

Maybe we can use https://code.google.com/p/pagedown/ ?

Activity

  1. daveol commented on Mar 18, 2015

    @daveol
    Contributor

    I agree because it's a bit of a mess right now. how about: https://github.com/Hypercubed/angular-marked ?

  2. nomis52 commented on Mar 18, 2015

    @nomis52
    MemberAuthor

    That looks good.

  3. peternewman commented on Mar 18, 2015

    @peternewman
    Member

    Sounds good, as long as it doesn't make it look odd in the CLI and other stuff. I think we'll need to use Github Flavoured Markdown though, for the underscores in variable names among other things:
    https://help.github.com/articles/github-flavored-markdown/

    The autolinking URLs would be good too.

    Thankfully, it looks like it does:
    https://github.com/Hypercubed/angular-marked#set-default-options-optional

  4. peternewman commented on Jul 3, 2015

    @peternewman
    Member

    Question, if we're doing this, can/do we also seperate the plugin readme into another file, merged in/generated at configure time, so GitHub can also show the plugin info as markdown?

  5. daveol commented on Jul 3, 2015

    @daveol
    Contributor

    I'm all for it @peternewman, but isn't it a better idea to just let the plugin read the file?

  6. nomis52 commented on Jul 3, 2015

    @nomis52
    MemberAuthor

    Yeah, I'm fine with that. We can have a .sh script that takes a .md file and produces a .h with a single static const char[] variable.

    We can run that as part of the build process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions