artempyanykh / marksman

Write Markdown with code assist and intelligence in the comfort of your favourite editor.
MIT License
1.98k stars 35 forks source link

How to ignore a line ? #329

Closed samuel-cavalcanti closed 2 weeks ago

samuel-cavalcanti commented 1 month ago

Hi, is it possible to ignore a line like ?:

> this is an info quote
{: .prompt-info }<!-- marksman ignore this line -->

Because when I format the document the result is:

> this is an info quote
> {: .prompt-info }
Lamby777 commented 1 month ago

Came here from this exact same problem of .prompt-info in jekyll lol

artempyanykh commented 2 weeks ago

Hey @samuel-cavalcanti @Lamby777! Could you please elaborate what the problem is? In case it's about formatting, note that Marksman doesn't do formatting, and it might be e.g. prettier (cf. #327).

samuel-cavalcanti commented 2 weeks ago

your are right, it was the prettier.

samuel-cavalcanti commented 2 weeks ago

btw @Lamby777 , <!-- prettier-ignore --> solve my problem

<!-- prettier-ignore -->
> this is an info quote
{: .prompt-info }