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.

We would follow Obsidian style as listed on here https://help.obsidian.md/How+to/Use+callouts

> [!INFO]
> Here's a callout block.
> It supports **markdown** and [[Internal link|wikilinks]].

Acceptance

repo: https://github.com/flowershow/remark-callouts npm: https://www.npmjs.com/package/remark-callouts

  • Support blockquote obsidian style callouts
  • Support 13 type with appropriate styling in default theme
  • Supports nested blockquote callouts
  • Supports aliases for types
  • Defaults to note style callout for all other types eg. > [!xyz]
  • Supports dark and light mode styles

Screenshots

  • with callout Screen Shot 2022-10-03 at 8 38 11 PM

  • without callout Screen Shot 2022-10-03 at 8 39 25 PM

Tasks

  • Do analysis and estimate e.g. do we do a new remark plugin? (we could put in our existing plugin?) ✅ 2022-09-14 create new remark plugin @ repo: https://github.com/flowershow/remark-callouts
  • Add following features in plugin ✅ 2022-09-23
    • All admonitions that exist in obsidian including their aliases
    • Add custom titles (also support markdown)
    • Add nested callouts similar style in obsidian
    • Colors and Icons same as in obsidian
    • Add dark and light mode styles
  • Fix headings added due to rehype-auto-link-headings ✅ 2022-09-26
    • added classNames (blockquote-heading) so above package can emit

Notes

  • custom titles in callout headers can support markdown (as in obsidian) but not [[wiki-links]] (yet).

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
khalilcodescommented, Sep 30, 2022

@rufuspollock the headings was resolved on Monday and the npm package has been published and ready to go.

repo: https://github.com/flowershow/remark-callouts npm: https://www.npmjs.com/package/remark-callouts

One minor limitation is that wiki links do not parse in the callout’s header section (works in body), although other markdown stuff does just as in Obsidian. For eg …

> [!tip] # custom title // this works (parses the title as h1)

> [!tip] [[wiki-link]] // this doesn't -->  shows Tip instead

> [!tip]
> [[wiki-link]] // this works

I will update the tasks shortly.

0reactions
rufuspollockcommented, Oct 3, 2022

@khalilcodes amazing! 👏 👏 let’s integrate it and deploy it!

Read more comments on GitHub >

github_iconTop Results From Across the Web

About callout assets - Google Ads Help
Callouts can improve your text ads by promoting unique offers to shoppers, like free shipping or 24-hour customer service. When you create a...
Read more >
Support Callouts: What they really mean for you. - Reddit
So here we go, a comprehensive guide to support callouts, ... "Enemy in Back": Probably the most common callout for a support, ...
Read more >
What are Callouts in an IT Support Service? - TechQuarters
In this quick video in our IT Support breakdown series, our CEO nd Founder, Chris, summarised what are callouts and what it might...
Read more >
How to use callouts and give additional info to your audience
For more on callouts, check out this article ... Browse through our Support page (https:// support.infogram.com) and get to know the ...
Read more >
Supporting Text & Callouts
A callout is supporting text that only shows up when a form field is highlighted. Here's an example:? Screenshot_2019-05-21_15.58.26.png.
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