Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore tags #317

Open
coler-j opened this issue May 16, 2023 · 5 comments
Open

Ignore tags #317

coler-j opened this issue May 16, 2023 · 5 comments

Comments

@coler-j
Copy link

coler-j commented May 16, 2023

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

@kovetskiy
Copy link
Owner

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
Copy link
Collaborator

mrueg commented May 23, 2023

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?

@kovetskiy
Copy link
Owner

Oh, I see. That could be useful.

@coler-j
Copy link
Author

coler-j commented May 23, 2023 via email

@joyfulrabbit
Copy link
Contributor

joyfulrabbit commented Jun 9, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants