Skip to content

':include' not working in a table cell. #398

Description

@fdrobidoux

Take the following markdown :

 Command | Description | Parameters
 ---: | --- | ---
 **Something** | |
 `do-something` | Does something. | [shouldnt appear](.artisan/params.md ':include')
 **Something else** | |
 `etc.` | Etc. | |

In tables, the ':include' argument isn't taken, and it shows a link named shouldnt appear instead in the table cell.

What I expect it to do, is add the markdown from another file and embeds it into the table, with line breaks just like in the file.

Is this an easy fix?

Thank you.

Activity

  1. allenfantasy commented on Apr 14, 2018

    @allenfantasy

    Just met similar problem but mine is to put the embedded link into a custom <div> tag.

    The reason why I do this: I use embedded code file as "code snippet example" for our internal JS library, and I would like to add a custom toggle button to "toggle" the "code snippet example", thus the whole page is cleaner (just like the Vue UI library element did)

  2. trusktr commented on Jun 21, 2020

    @trusktr
    Member

    This might be a breaking change; adding it to the 5.x board. I don't think people would rely on this to not work, but it could be someone does rely on it on accident (not sure, as I haven't looked at every site using Docsify).

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions