mdx-util icon indicating copy to clipboard operation
mdx-util copied to clipboard

Document `readingTime` and highlighted lines in code blocks

Open jamesknelson opened this issue 7 years ago • 0 comments

As of 2.2.0, mdx-loader:

  • exports a readingTime object which can be used to add a medium-style estimated reading time
  • supports specifying highlighted line ranges for code blocks, using the same syntax as Gatsby

This needs to be documented properly in the README.

jamesknelson avatar Jan 04 '19 14:01 jamesknelson