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

Check HTML export of annotatedParagraph #846

Open
Ducasse opened this issue Aug 9, 2024 · 9 comments
Open

Check HTML export of annotatedParagraph #846

Ducasse opened this issue Aug 9, 2024 · 9 comments

Comments

@Ducasse
Copy link
Contributor

Ducasse commented Aug 9, 2024

We should also support Annotated in HTML
For this we should check what are the possibility to have a little frame around the text.

@Ducasse
Copy link
Contributor Author

Ducasse commented Aug 9, 2024

@hernanmd do you some idea? I think that we should emit a class tag and the css should manage this

Capture 2024-08-09 at 10 14 10

@Ducasse
Copy link
Contributor Author

Ducasse commented Aug 9, 2024

This makes me think that we could have

>[! 

to represent annotate paragraph
and

>
>

for quoteBlock to be closer to github.
Like that !! can be used for something else.

@Ducasse
Copy link
Contributor Author

Ducasse commented Aug 9, 2024

We should discuss about this.

@hernanmd
Copy link
Collaborator

To add a frame around the text, we can use the <blockquote> or <pre> tags, which are styled by default by classless frameworks (they apply styles to standard HTML elements without the need for additional classes).

So we can apply a styled border to certain HTML elements without requiring additional classes.

@Ducasse
Copy link
Contributor Author

Ducasse commented Aug 13, 2024

Thanks!

@Ducasse
Copy link
Contributor Author

Ducasse commented Aug 13, 2024

> [!Caution] **Gras** 
> oui du gras

Caution

oui du gras

@Ducasse
Copy link
Contributor Author

Ducasse commented Aug 19, 2024

>[! Important ] on ignore si il a du texte
>

@Ducasse
Copy link
Contributor Author

Ducasse commented Aug 19, 2024

>[! Important  on ignore si il a du texte
>

Ici on genere la meme chose que

> Important  on ignore si il a du texte
>

comme cela on force l'utilisateur a utiliser le ]

@Ducasse Ducasse changed the title Annotated HTML exporter Better syntax for AnnotatedParagraph (!! -> >1[) Aug 19, 2024
@Ducasse
Copy link
Contributor Author

Ducasse commented Sep 8, 2024

I added the support for a backward compatible syntaxt eg !!note

@Ducasse Ducasse changed the title Better syntax for AnnotatedParagraph (!! -> >1[) Check HTML export of annotatedParagraph Sep 8, 2024
@Ducasse Ducasse removed the ForMoutté label Sep 8, 2024
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

3 participants