Skip to content
#

jonschlinkert

Here are 85 public repositories matching this topic...

rbalet
rbalet commented Nov 19, 2019

🐛 Bug Report

when using backtick within a table, the pipe | wont be espace by the backslash \
(originally raised here)

To Reproduce

try this code within a docusaurus md file

| Test                            | x        | x   |
| ------------------------------- | -------- | --- |
| `this pipe \| should be espace` |
flamusdiu
flamusdiu commented Nov 28, 2017

I am creating a custom TOC to fix #104 for me; however, it's not that easy.

var toc = require('markdown-toc');
var md = '# heading\n## heading 2\n### heading 3';
var result = toc(md); // links are incorrect in the toc for Angular

var correct_toc = [];
result.json.forEach(function(h) {
    // fixed h.content
    correct_toc.push(new_h);
}

var toc_md = toc.bullets(corre
donaldtone
donaldtone commented Mar 3, 2019

options.delimiters
Type: String
Default: ---

Open and close delimiters can be passed in as an array of strings.

Example:

// format delims as a string
matter.read('file.md', {delims: '~~~'});
// or an array (open/close)
matter.read('file.md', {delims: ['~~~', '~~~']});

the example is wrong.
it should use delimiters instead of delims.

like that:

Example:

/
tunnckoCore
tunnckoCore commented Nov 15, 2016

Because if some greenkeeper update fails it shows red badge on the readme and I think this isn't good. Users may think the master branch and published release fails, which isn't correct. It's not good for reputation of the package/repository, so I recently changed it in my readmes.

https://img.shields.io/travis/node-minibase/minibase.svg
https://img.shields.io/travis/node-minibase/minibas

If you use globs, this will make your code faster. Returns `true` if the given string looks like a glob pattern or an extglob pattern. This makes it easy to create code that only uses external modules like node-glob when necessary, resulting in much faster code execution and initialization time, and a better user experience. 55+ million downloads.

  • Updated May 25, 2019
  • JavaScript
tunnckoCore
tunnckoCore commented Sep 21, 2019

Hey @jonschlinkert :)

The comment's code.context is an empty object when using export default, arrow function.

/**
 * Foobar 1 with default export arrow function and typescript
 * and empty code.context
 *
 * @param  {string} `commit` a commit message
 * @api public
 */

export default (commit: string): Commit => {};

/**
 * Foobar 2 with default export arrow function

Improve this page

Add a description, image, and links to the jonschlinkert topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the jonschlinkert topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.