memd-cli 1.3.0 → 1.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +0 -1
  2. package/main.js +1 -2
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -24,7 +24,6 @@ Options:
24
24
  --no-pager disable pager (less)
25
25
  --no-mouse disable mouse scroll in pager
26
26
  --no-color disable colored output
27
- --no-highlight disable syntax highlighting
28
27
  --width <number> terminal width override
29
28
  --ascii use pure ASCII mode for diagrams (default: unicode)
30
29
  --theme <name> syntax highlight theme (default, monokai, dracula,
package/main.js CHANGED
@@ -276,7 +276,6 @@ async function main() {
276
276
  .option('--no-pager', 'disable pager (less)')
277
277
  .option('--no-mouse', 'disable mouse scroll in pager')
278
278
  .option('--no-color', 'disable colored output')
279
- .option('--no-highlight', 'disable syntax highlighting')
280
279
  .option('--width <number>', 'terminal width override', Number)
281
280
  .option('--ascii', 'use pure ASCII mode for diagrams (default: unicode)')
282
281
  .option('--theme <name>', `syntax highlight theme (${THEME_NAMES.join(', ')})`, 'default')
@@ -292,7 +291,7 @@ async function main() {
292
291
  const useColor = options.color !== false && !process.env.NO_COLOR;
293
292
 
294
293
  // Configure syntax highlighting options (passed to cli-highlight)
295
- const shouldHighlight = options.highlight !== false && useColor;
294
+ const shouldHighlight = useColor;
296
295
 
297
296
  // Configure marked with terminal renderer
298
297
  const selectedTheme = THEMES[themeName];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "memd-cli",
3
- "version": "1.3.0",
3
+ "version": "1.4.1",
4
4
  "type": "module",
5
5
  "main": "main.js",
6
6
  "bin": {