unitxt icon indicating copy to clipboard operation
unitxt copied to clipboard

Check HTML export of annotatedParagraph

Open elronbandel opened this issue 1 year ago • 9 comments

Key contributions:

  1. No need to assign values to output fields in infer/produce functions (only to input fields as the task specify)
  2. No need to specify a card unless few shot examples are needed. You can specify the task and it will be enough.

See the full production.rst for details

elronbandel avatar Jun 26 '24 21:06 elronbandel

@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 avatar Aug 09 '24 08:08 Ducasse

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 avatar Aug 09 '24 08:08 Ducasse

We should discuss about this.

Ducasse avatar Aug 09 '24 11:08 Ducasse

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.

hernanmd avatar Aug 12 '24 21:08 hernanmd

Thanks!

Ducasse avatar Aug 13 '24 16:08 Ducasse

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

[!Caution] oui du gras

Ducasse avatar Aug 13 '24 17:08 Ducasse

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

Ducasse avatar Aug 19 '24 09:08 Ducasse

>[! 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 avatar Aug 19 '24 09:08 Ducasse

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

Ducasse avatar Sep 08 '24 10:09 Ducasse