# No way to install markdown-it plugins?

**URL:** https://meta.discourse.org/t/no-way-to-install-markdown-it-plugins/83686
**Category:** Development
**Created:** [March 23, 2018, 9:59pm UTC](https://meta.discourse.org/t/no-way-to-install-markdown-it-plugins/83686 "2018-03-23T21:59:15Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![wolftune](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wolftune/32/103569_2.png) [@wolftune](https://meta.discourse.org/u/wolftune)
#### Post date: [March 23, 2018, 9:59pm UTC](https://meta.discourse.org/t/no-way-to-install-markdown-it-plugins/83686/1 "2018-03-23T21:59:15Z")

</div>

Continuing the discussion from [Markdown-it is very powerful with its pulgin, how to achieve these on discourse](https://meta.discourse.org/t/markdown-it-is-very-powerful-with-its-pulgin-how-to-achieve-these-on-discourse/74457):

I see per that older topic that markdown-it features outside of commonmark “will not be included”, but there’s no way to add them via the separate markdown-it plugins?

They really would be useful. It’s almost tragic (especially for the goal of commonmark adoption) that commonmark doesn’t include _any_ support for footnotes (I know that Discourse “more details” is a workaround, but it’s not the same).

Am I understanding right that the way markdown-it is incorporated into Discourse, the [plugins](https://www.npmjs.com/browse/keyword/markdown-it-plugin) would have to be added at some higher level and so aren’t available to people just running an instance of Discourse?

---

<div class="post-metadata">

### Author: ![dax](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dax/32/244677_2.png) [@dax](https://meta.discourse.org/u/dax)
#### Post date: [March 24, 2018, 12:10am UTC](https://meta.discourse.org/t/no-way-to-install-markdown-it-plugins/83686/2 "2018-03-24T00:10:47Z")

</div>

I’m not following you.  
A Discourse plugin that incorporates markdown-it does not exist, of course you can not install plugins written for other platforms.  
If you really need the markdown-it extra-features (which as Jeff said is not the standard markdown we use on Discourse) you should write a plugin, or open a topic on #Marketplace to find a dev to pay that write it for you.

> [@wolftune](#):
>
> Am I understanding right that the way markdown-it is incorporated into Discourse, the plugins would have to be added at some higher level and so aren’t available to people just running an instance of Discourse?

I can not understand what you mean. Any official and unofficial plugin, if open to the public of course, can be installed (at your own risk) on Discourse if your instance is self-hosted.

The “plugin” you linked is not a plugin, it’s a search with 0 results for me…  
If you search for “discourse” you can find something, but nothing related to markdown-it.  
I do not know if there is anything available only for enterprise level, in this case take a screenshot to let us see.

---

<div class="post-metadata">

### Author: ![wolftune](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wolftune/32/103569_2.png) [@wolftune](https://meta.discourse.org/u/wolftune)
#### Post date: [March 24, 2018, 12:40am UTC](https://meta.discourse.org/t/no-way-to-install-markdown-it-plugins/83686/3 "2018-03-24T00:40:59Z")

</div>

I’m trying to understand. There are plugins for markdown-it that expand its features. If Discourse used Markdown-it as a full dependency, it would be reasonable to wonder whether adding features to that dependency would bring them to Discourse.

But it seems that however Discourse uses markdown-it, it’s in some more limited way that cannot take plugins to expand the feature set.

Strange that the search link that worked before is broken now. Here’s an example direct link: [markdown-it footnote plugin](https://www.npmjs.com/package/markdown-it-footnote). That has instructions for adding footnote capacity to markdown-it, and the hope was that if Discourse uses markdown-it (which was my understanding), then it would inherit whatever capacity the local instance of markdown-it had to offer. But it seems that hope is not going to work out.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [March 24, 2018, 1:20am UTC](https://meta.discourse.org/t/no-way-to-install-markdown-it-plugins/83686/4 "2018-03-24T01:20:21Z")

</div>

Your assessment here is very off

Markdown it extensions can be repackaged as discourse plugins just fine, I plan to do footnotes next week and write a howto

---

<div class="post-metadata">

### Author: ![wolftune](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wolftune/32/103569_2.png) [@wolftune](https://meta.discourse.org/u/wolftune)
#### Post date: [March 24, 2018, 4:04am UTC](https://meta.discourse.org/t/no-way-to-install-markdown-it-plugins/83686/5 "2018-03-24T04:04:05Z")

</div>

Oh okay, great! I assumed that sort of thing was easy enough, but I didn’t know if it would take some repackaging work or just some install instructions.

FWIW, the ones I’m most interested in are Footnotes and [Anchors](https://www.npmjs.com/package/markdown-it-anchor). Secondarily, [task-lists](https://www.npmjs.com/package/markdown-it-task-lists) and [container](https://github.com/markdown-it/markdown-it-container) seem quite useful (just stated as votes to consider for anyone who gets around to repackaging, and I’d like to help but not sure I can at this time).

Cheers!

---

<div class="post-metadata">

### Author: ![fefrei](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fefrei/32/119538_2.png) [@fefrei](https://meta.discourse.org/u/fefrei)
#### Post date: [March 26, 2018, 9:19am UTC](https://meta.discourse.org/t/no-way-to-install-markdown-it-plugins/83686/6 "2018-03-26T09:19:46Z")

</div>

> [@wolftune](#):
>
> Secondarily, task-lists

For that one, you’ll want this plugin instead:

> [@Discourse Checklist](https://meta.discourse.org/t/checklist-plugin-interactive-checkboxes-made-simple/36362):
>
> discourse2Summary Discourse Checklist allows checkboxes to be added to posts with simple Markdownopen_bookInstall Guide This plugin is bundled with Discourse core. There is no need to install the plugin separately. Enabling Checklist The Checklist plugin is enabled by default but can be disabled/enabled from its settings, accessed from your admin/plugins page: [Checklist settings] Features Once enabled, you can add checklists to your posts by typing them in like this: …

It not only exists already, but also makes checkboxes interactive: Clicking immediately edits the post 🙂

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [April 5, 2018, 2:08am UTC](https://meta.discourse.org/t/no-way-to-install-markdown-it-plugins/83686/7 "2018-04-05T02:08:39Z")

</div>

This is now documented at: [Repackaging a markdown-it extension as a Discourse plugin](https://meta.discourse.org/t/repackaging-a-markdown-it-extension-as-a-discourse-plugin/84614/1)

---

<div class="post-metadata">

### Author: ![erlend\_sh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/erlend_sh/32/119475_2.png) [@erlend\_sh](https://meta.discourse.org/u/erlend_sh)
#### Post date: [April 5, 2018, 2:44am UTC](https://meta.discourse.org/t/no-way-to-install-markdown-it-plugins/83686/8 "2018-04-05T02:44:53Z")

</div>


