Skip to content

Links and markup don't inherit the table face #716

@angrybacon

Description

@angrybacon

Expected Behavior

I should be able to change the font-size for tables including their content eg. links.

Actual Behavior

Customizations to the markdown-table-face are overwritten by markdown-link-face and markdown-reference-face inside tables.

Steps to Reproduce

Create a simple table with links in the cells

| Links                        |
|------------------------------|
| [Link 1](https://github.com) |
| [Link 2][link-reference]     |
  1. ✔️ M-x describe-char on Links, blank spaces and separators correctly gives markdown-table-face
  2. ✔️ M-x describe-char on Link 1 correctly gives (markdown-table-face markdown-link-face)
  3. M-x describe-char on https://github.com incorrectly gives markdown-url-face
  4. M-x describe-char on Link 2 incorrectly gives markdown-link-face
  5. M-x describe-char on link-reference incorrectly gives markdown-reference-face
  6. M-x describe-char on [, ], ( and ) incorrectly gives markdown-markup-face

Software Versions

  • Markdown Mode: markdown-mode, version 2.6-dev
  • Emacs: GNU Emacs 29.0.50 (build 1, x86_64-apple-darwin20.6.0, NS appkit-2022.60 Version 11.6 (Build 20G165)) of 2022-05-12
  • OS: macOS Big Sur

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions