Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 694 Bytes

collapsable_markdown.md

File metadata and controls

31 lines (23 loc) · 694 Bytes

Today I Learned . . .

How to insert collapsable text, including code, in Markdown. While I promise myself not to go all out with this, I plan to use it in longer files.

How to structure

A collapsible section with markdown

Click to expand!

Heading

  1. A numbered
  2. list
    • With some
    • Sub bullets

A collapsible section containing code

Click to expand!
  function logSometing(something) {
    console.log(`Logging: ${something}`);
  }

source: @pierrejoubert73