Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: iA Writer style transclusion syntax #437

Closed
xles opened this issue Nov 18, 2016 · 4 comments
Closed

Feature Request: iA Writer style transclusion syntax #437

xles opened this issue Nov 18, 2016 · 4 comments

Comments

@xles
Copy link

xles commented Nov 18, 2016

Information Architects, the developer behind the very popular markdown editor (unfortunately not commonmark, yet) "iA Writer" for OSX recently released a new version, and with that, they included a proposed new transclusion syntax:

/filename

…and that's basically it. For a better and more thorough description I refer to their own syntax document:

https://github.com/iainc/Markdown-Content-Blocks

I for one think this is a rather elegant option for a transclusion syntax, and who knows, maybe we can get iA on board the CommonMark train?

@jgm
Copy link
Member

jgm commented Nov 19, 2016

I don't think CommonMark should specify a transclusion
syntax.

This kind of thing should be handled with preprocessing
before passing things off to the CommonMark parser, it seems
to me.

@robsonsobral
Copy link

I don't know what to think about transclusion, but I'm afraid of the path iA is taking. They should be here talking.

@digitalkapitaen
Copy link

If I may chime in: I think this change does not really fit to the idea of markdown. Neither is markdown a templating format (so transclusion should not be part of the spec), nor is the concept of "local" or a location readily available to a processor. (May make sense for local writing, but when a markdown file is moved to another location for processing, the location may change drastically.)

@anderflash
Copy link

In LaTeX we can use \includegraph[...]{example}. In this case I don't use an extension if I edit a LateX paper in Markdown (e.g. ![](example)), which breaks the transclusion syntax /example.

@jgm jgm closed this as completed Mar 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants