Skip to content

Enable markdown extensions #1

Closed

Description

@LeonarddeR

There are some handy markdown extensions available which can improve the quality of documentation. I propose enabling the following extensions by default;

  • markdown.extensions.extra
  • markdown.extensions.smarty
  • markdown.extensions.toc

Activity

  1. cary-rowen commented on Jan 11, 2021

    @cary-rowen

    Hi,

    I recommend enabling markdown.extensions.tables to use table styles in the add-on help documentation.

    Thanks.

  2. school510587 commented on Jun 17, 2021

    @school510587

    Hi all,

    I have just tried to enable markdown.extensions.tables in buildVars.py, but I find that the generated table has no border at all.

    Should I modify style.css manually? Or, would AddonTemplate give a better solution?

    Thanks!

  3. josephsl commented on Jun 17, 2021

    @josephsl
    Contributor
  4. josephsl commented on Jan 1, 2024

    @josephsl
    Contributor

    Hi,

    January 2024 update: any updates?

    Thanks.

  5. school510587 commented on Jan 3, 2024

    @school510587

    @josephsl,

    I don't know how to solve the problem with the latest template. Python markdown module does not set border="1" for the tables. So far, I just add some necessary CSS in to style.css:

    table {
    border-collapse: collapse;
    }
    table, th, td {
    border: 1px solid black;
    }
    

    Could anyone tell me how to prevent to modify it by myself? Thanks.

  6. josephsl commented on Nov 27, 2025

    @josephsl
    Contributor

    November 2025: closed as the repo is archived. Please start an ew discussion on nvaccess/addonTempate repo.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions