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

come creo su .MD avvisi su tabelle colorate così come avviene su .RST #121

Open
cirospat opened this issue Feb 11, 2020 · 7 comments
Open

Comments

@cirospat
Copy link
Contributor

con RST si possono creare avvisi su tabelle colorate.
E' molto comodo nella documentazione per creare attenzione in chi legge ed enfatizzare alcuni passaggi.
Qui un esempio: https://googledocs.readthedocs.io/it/latest/come-usarlo.html#inserire-note-colorate-di-vario-tipo.
E questo è il rendering su Read the Docs:
image

il codice su RTS è:

..  Attention:: 

    (content of Attention)


..  Caution:: 

    (content of Caution)


..  Warning:: 

    (content of Warning)


..  Danger:: 

    (content of Danger)


..  Error:: 

    (content of Error)


..  Hint:: 

    (content of Hint)


..  Important:: 

    (content of Important)


..  Tip:: 

    (content of Tip)


..  Note:: 

    (content of Note)


..  seealso:: 

    (content of See also)


.. admonition:: Change-me

    (content of Change-me)

Mi domando se è possibile - tramite MD - generare su Read the Docs questi messaggi con queste tabelle colorate. Se è possibile sono interessato a conoscere le istruzioni da dare.
Grazie

@aborruso aborruso transferred this issue from opendatasicilia/tansignari Feb 11, 2020
@aborruso
Copy link
Member

@cirospat
Copy link
Contributor Author

cirospat commented Feb 11, 2020

grazie @aborruso
quindi devo inserire su MD, a seconda dei messaggi, queste istruzioni:

<div class="alert alert-primary" role="alert">
  This is a primary alert—check it out!
</div>
<div class="alert alert-secondary" role="alert">
  This is a secondary alert—check it out!
</div>
<div class="alert alert-success" role="alert">
  This is a success alert—check it out!
</div>
<div class="alert alert-danger" role="alert">
  This is a danger alert—check it out!
</div>
<div class="alert alert-warning" role="alert">
  This is a warning alert—check it out!
</div>
<div class="alert alert-info" role="alert">
  This is a info alert—check it out!
</div>
<div class="alert alert-light" role="alert">
  This is a light alert—check it out!
</div>
<div class="alert alert-dark" role="alert">
  This is a dark alert—check it out!
</div>

Alla stessa stregua posso inserire video e altri contenuti utilizzando html

Grazie moltissimo.

@cirospat
Copy link
Contributor Author

https://schema-tipo.readthedocs.io/it/latest/messaggi_colorati.html
ho fatto una prova su un repo di test, ma non si vedono i colori

@aborruso
Copy link
Member

@cirospat non avevo capito la domanda, scusami :(

@aborruso aborruso transferred this issue from opendatasicilia/tansignari-md Feb 11, 2020
@pigreco
Copy link
Contributor

pigreco commented Feb 12, 2020

@aborruso

hai trasferito questa issue in tansignari-md, quindi possiamo chiudere questa??

@aborruso
Copy link
Member

@pigreco ieri l'ho riportata qui, perché Ciro vuole sapere come si fa in RTD. Non la possiamo chiudere perché non è risolta

@cirospat
Copy link
Contributor Author

A tempo perso 🙂

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