question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for Extending Markdown Syntax

See original GitHub issue

Is there any support for adding custom markdown rules? Such as adding in logic to understand @material-icons-home to mean inserting an icon from material icons? http://google.github.io/material-design-icons/#icons-for-android

A sample repo of doing this for a markdown parser for web is here: https://github.com/dbtek/showdown-icon

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
notiescommented, Feb 14, 2018

Hello!

It’s definitely doable and I had started writing how to do it. But an answer became too big and I decided to shape it as something more. I think I will just add a sample-custom-extension module to the project in the next few days. Please ping me if I won’t hold my word 😄

(Spoiler alert): yes, a relatively big amount of code is required, including writing parser extension for the commonmark-java

0reactions
09ae9ccommented, Feb 24, 2018

@noties Thank you very much! it works!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Extended Syntax - Markdown Guide
The basic Markdown syntax allows you to create code blocks by indenting lines by four spaces or one tab. If you find that...
Read more >
Markdown Syntax | Hub - JetBrains
These extensions support formatting options that are not included in the formal specification like strikethrough text, tables, and autolinks.
Read more >
Markdown Extension - Visual Studio Code
Markdown extensions allow you to extend and enhance Visual Studio Code's built-in Markdown preview. This includes changing the look of the preview or...
Read more >
Markdown Extended - Package Control
Top 100 Sublime Text plugin! Markdown syntax highlighter for Sublime Text, with extended support for GFM fenced code blocks, with language-specific syntax ......
Read more >
Proposal: extend Markdown syntax to support form elements
Markdown is a lightweight markup language that can be converted into HTML. The main inspiration behind its syntax is to copy what most ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found