Questions tagged [remarkjs]

A JavaScript library that creates client-side HTML5 slideshows from Markdown source. Or an unrelated Markdown parser used by Gatsbyjs.

Remark.js (also on GitHub) is a JavaScript library that creates client-side slideshows from Markdown source.

Remark is also the name of a collection of libraries for working with Markdown. Despite the name and shared concepts, Remark.js is not built on Remark, the JavaScript library.

See also:

98 questions
2
votes
1 answer

embedding multiple RunKit REPL instances on a single web page

I am creating a web-based presentation using RemarkJS, my preferred tool for presentations. Since I want to demo small bits of nodejs code, I want to use RunKit's REPL embedding capability. I couldn't quite figure out how to embed multiple instances…
punkish
  • 13,598
  • 26
  • 66
  • 101
1
vote
0 answers

Tailwind CSS is unstyling page created through remark and rehype

Problem overview I have a Next.js project in which Tailwind was recently added for styling purposes, and it completely destroyed the format of some blog post pages created through Remark and Rehype. The problem is that Tailwind CSS removes styling…
Ramon Orraca
  • 31
  • 1
  • 4
1
vote
1 answer

Under Unifiedjs ecosystem, what does RECMA stand for?

So when parsing mdx, you typically use remark plugins for markdown, and rehype plugins for HTML. I see a third category called recma plugins. What does recma stand for and what is it? Google surprisingly has no results on this. For example, this…
wongz
  • 3,255
  • 2
  • 28
  • 55
1
vote
0 answers

Setting css class with variable in Xaringan with remark.js

I often need to change dynamically the font size or other properties for xaringan slides. Instead of defining a lot of different CSS classes I would like to define a general fontsize class and then passing a % value as variable. Something like this…
1
vote
0 answers

Can't get values of nested frontMatter objects

I'm using gray-matter/frontMatter and remark-mdx to read values of an .mdx file in a nextJS project: .mdx file: details: - pronoun: she/her - favoriteThing: learning - leastFavoriteThing: winter - favoriteMovie: kiki's delivery service -…
1
vote
1 answer

Internationalization of a HTML + Markdown document (using RemarkJS)

I have many slides for a presentation made with RemarkJS. It is a HTML file slides_fr.html with a single