docs: clarify 'extension' terminology ambiguity
Add a terminology note section to explain the difference between:
- MarkedExtension: the configuration object passed to marked.use()
- TokenizerAndRendererExtension: custom syntax definitions in the extensions array
This addresses the confusion described in #3182 where 'extensions' is used
with two different meanings throughout the documentation.
Fixes#3182
Co-authored-by: njg7194 <njg7194@github.com>
* Add Marked Responsive Images extension to documentation
Added the **Marked Responsive Images** to the **Known Extensions** list in the documentation.
* Fix table formatting in USING_ADVANCED.md
Removed trailing periods for **Known Extensions** descriptions for better consistency.
* docs: browser example for marked on page data
* Apply suggestions from code review
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* docs: browser example to USING_ADVANCED.md
* Update docs/USING_ADVANCED.md
Applied suggestion. Thank you.
Co-authored-by: Tony Brix <tony@brix.ninja>
* docs: update menu, close user ex details
---------
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Tony Brix <tony@brix.ninja>
* fix: fix link issues of _doc.html
* fix:wrong changes done
* docs:Improved the UI for Docs page
* docs:final changes to UI redesign
* fix:fixes dark light mode toggle in demo page
* fix: fixed linting error after dark mode changes
* feat:add mobile responsive design
* fix: fix broken links of nav bar
* fix:dark mode flash fix and backward url compatibility
* fix:demo page fix
* fix: fix linting error
* fix:clean url and hamburger menu button
* fix:fix formatting issues and more device inclusive responsive design
* fix: reverts build.js to original state
* Add hook to mask input for em/strong processing in extension
* Use passthrough hook instead of tokenizer-specific hook
* Remove deprecated items
* Ensure passthrough hook does not create promise
* Add test for combining hooks and async
BREAKING CHANGE:
- minify ./lib/marked.esm.js and ./lib/marked.umd.js
- remove ./marked.min.js use ./lib/marked.umd.js instead
- remove ./lib/marked.cjs
- update minimum supported node version to 20 to support require('marked.esm.js'). see nodejs.org/docs/latest-v20.x/api/modules.html#loading-ecmascript-modules-using-require
Add `marked-more-lists` to known extensions
The More Lists extension adds support to Marked for alphabetic and roman numeral ordered lists, and non-sequential lists (skipping numbers).
BREAKING CHANGE:
- Update HTML block tags: add search, remove source
- Update punctuation to include unicode punctuation and symbol categories
- Update HTML comment to include <!--> and <!--->
* docs(using_advanced): adds `codefence` related extensions to known extensions
Added:
- `marked-code-format` for formatting code blocks using Prettier
- `marked-code-jsx-renderer` for rendering JSX code blocks using a custom renderer and components
- `marked-code-preview` for transforming code blocks into code previews
* docs(using_advanced): add `marked-sequential-hooks` to known extensions
* chore: typo
* chore: enclose package name in backticks
Co-authored-by: Tony Brix <tony@brix.ninja>
* chore: enclose package name in backticks
Co-authored-by: Tony Brix <tony@brix.ninja>
---------
Co-authored-by: Tony Brix <tony@brix.ninja>