question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Ability to customize codeblock tags

See original GitHub issue

Currently working with Vue and we’d like to document our examples in markdown with this plugin. However, we have been using:

> ```vue
> ...
> ```

I’d like to be able to customize the tags used for the code block.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
btmillscommented, Jan 2, 2019

We just merged an ESLint RFC that will will provide support for this! https://github.com/eslint/rfcs/tree/master/designs/2018-processors-improvements Once it’s implemented in ESLint, we’ll be able to add support into the plugin.

1reaction
btmillscommented, Feb 26, 2020

👋 I’m now actively working on implementing the new processor API so that this plugin can extract code blocks of any syntax and pass them to ESLint! I’m tracking progress in #138, so subscribe to that issue if you’d like updates, and I’ll close this so that #138 is the primary issue for this work.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Is there no option to customize the code block tags? · Issue #131
As far as I can tell, the only customization option I have is langPrefix . I was expecting to be able to override...
Read more >
Code blocks - Squarespace Help Center
Use code blocks to add custom code to a page, blog post, sidebar, footer, or other content area. Code blocks are good options...
Read more >
Custom Code - Softr Docs
The Custom Code block is a powerful feature which allows you to insert custom snippet of code, including HTML, CSS and/or Javascript, anywhere...
Read more >
1 Code::Blocks Project Management
The company's Coding Rules require source files to have a standard design. Code::Blocks makes it possible to include a predefined content at the...
Read more >
Code blocks - CKEditor 5 Documentation
The code block feature allows inserting and editing blocks of pre–formatted code into the ... You can customize it by specifying an optional...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found