Skip to content

Commit

Permalink
[ci skip] Improve JSDoc and API docs
Browse files Browse the repository at this point in the history
  • Loading branch information
yhatt committed Aug 30, 2024
1 parent 2a84a7a commit 7c291fe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/marpit.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class Marpit {
* container.
* @param {boolean} [opts.cssNesting=false] Enable CSS nesting support. If
* enabled, Marpit will try to make flatten the CSS with nested rules
* before rendering, to make it compatible with Marpit preprocessing.
* before rendering, to make it compatible with Marpit preprocessings.
* @param {false|number|number[]} [opts.headingDivider=false] Start a new
* slide page at before of headings. it would apply to headings whose
* larger than or equal to the specified level if a number is given, or
Expand Down
7 changes: 5 additions & 2 deletions src/theme_set.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ const defaultOptions = {
class ThemeSet {
/**
* Create a ThemeSet instance.
*
* @param {Object} [opts]
* @param {boolean} [opts.cssNesting=true] Enable CSS nesting support.
*/
constructor(opts = defaultOptions) {
/**
Expand Down Expand Up @@ -90,8 +93,8 @@ class ThemeSet {
this.metaType = {}

/**
* A boolean value indicating whether the theme set should enable CSS
* nesting or not.
* A boolean value indicating whether the theme set is enabling CSS nesting
* or not.
*
* @type {boolean}
*/
Expand Down

0 comments on commit 7c291fe

Please sign in to comment.