Giter Club home page Giter Club logo

Comments (8)

pjkaufman avatar pjkaufman commented on June 20, 2024 1

I have merged the change. So this issue should be fixed on master and in the next release. Please let us know if it is not working in either case.

from obsidian-linter.

pjkaufman avatar pjkaufman commented on June 20, 2024

Hey @mahtaran . If we are saying saying that we are ignoring code blocks in blockquotes altogether, then we would add them to an ignore list. But if we are saying we still need to apply the blockqoute style to those lines then a flag would be needed.

It probably makes sense to just ignore code blocks in blockquotes because having no spaces would slowly remove all spaces inside the code block.

from obsidian-linter.

mahtaran avatar mahtaran commented on June 20, 2024

Yeah, I feel like ignoring any content within code blocks might be the best solution.

from obsidian-linter.

pjkaufman avatar pjkaufman commented on June 20, 2024

It will ignore the blockquote indicators as well. So that means it would end up being something like the following to the rule:

> Example blockquote
>Wrongly indented line
> 
> {CODE_BLOCK}

from obsidian-linter.

pjkaufman avatar pjkaufman commented on June 20, 2024

Does that sound like the intended result? It will replace {CODE_BLOCK} with its original content.

from obsidian-linter.

mahtaran avatar mahtaran commented on June 20, 2024

Yes! Perhaps it could still check the indentation before the opening backticks, but apart from that I'd leave it up to the user how they want to indent their code.

from obsidian-linter.

pjkaufman avatar pjkaufman commented on June 20, 2024

I think it would still allow for the opening backticks, but the rest would be unaffected.

from obsidian-linter.

pjkaufman avatar pjkaufman commented on June 20, 2024

I believe I have a fix. It just needs to finish running the CI and if that passes, I will go ahead and merge it.

from obsidian-linter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.