You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`options.hljs.highlightAuto`**\[[boolean](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean)]** hljs automatically detect language (optional, default `false`)
26
26
-`options.hljs.languages`**\[[Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array)]** languages for hljs to choose from
27
+
-`options.inferPrivate`**\[[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)]** a valid regular expression string
28
+
to infer whether a code element should be private, given its naming structure.
29
+
For instance, you can specify `inferPrivate: '^_'` to automatically treat
as JavaScript, extending the default set of `js`, `es6`, and `jsx`.
27
33
-`callback`**[Function](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function)** to be called when the documentation generation
28
34
is complete, with (err, result) argumentsj
29
35
@@ -73,6 +79,12 @@ synchronously, rather than by calling a callback.
-`options.hljs.highlightAuto`**\[[boolean](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean)]** hljs automatically detect language (optional, default `false`)
75
81
-`options.hljs.languages`**\[[Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array)]** languages for hljs to choose from
82
+
-`options.inferPrivate`**\[[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)]** a valid regular expression string
83
+
to infer whether a code element should be private, given its naming structure.
84
+
For instance, you can specify `inferPrivate: '^_'` to automatically treat
as JavaScript, extending the default set of `js`, `es6`, and `jsx`.
108
126
-`callback`**[Function](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function)** to be called when the documentation generation
0 commit comments