With Next.js, you can load remote content using
next-mdx-remote.
For example, this section of the page was generated using a GitHub Gist as the source.
With Next.js, you can load remote content using
next-mdx-remote.
For example, this section of the page was generated using a GitHub Gist as the source.
| /** | |
| * Convert a list on Quizlet into CSV-formatted text. | |
| * Usage: | |
| * i) Copy and paste into your browser's console. | |
| * ii) Run it! | |
| */ | |
| (() => { | |
| const terms = document.querySelectorAll('.SetPageTerms-term'); | |
| const csv = []; |
| vim.cmd([[set mouse=]]) | |
| vim.cmd([[set noswapfile]]) | |
| vim.opt.winborder = "rounded" | |
| vim.opt.tabstop = 2 | |
| vim.opt.wrap = false | |
| vim.opt.cursorcolumn = false | |
| vim.opt.ignorecase = true | |
| vim.opt.shiftwidth = 2 | |
| vim.opt.smartindent = true | |
| vim.opt.number = true |