kovetskiy/mark

Ignore tags

coler-j opened this issue · 5 comments

Is your feature request related to a problem? Please describe.
I have content in my md file which does not render nicely in confluence (i.e. a ToC that looks and works well in GH but not in confluence)

Describe the solution you'd like
It would be nice if there were "ignore" tags that I could use to wrap my content that I don't want mark to interpret.

Describe alternatives you've considered
None.

Additional context

Hi,

Why isn't CI/CD pipeline with a simple script to skip some files is enough?

Consider something simple like gpt suggests:
image

mrueg commented

I can see some usecase for this and it should be easy to implement.

<!-- Include: ac:profile
    Name: Doe, John -->
<!-- ac:ignore -->
John Doe's profile
<!-- ac:ignore end -->

In Markdown you'll have a nice replacement for your Include that does not get rendered there.

@kovetskiy wdyt?

Oh, I see. That could be useful.

I had to sanitize a LOT tables (or recreate them using mermaid or an image) where carriage returns or other html formatting was used to make things look pretty. Those random html tags cause parsing errors and do not publish. I would love the flexibility of a feature like this. Happy to test a branch if someone has something.