livro-aberto / BookCloud

A collaborative platform to write books based on git
GNU General Public License v3.0
7 stars 2 forks source link

Não consigo comentar uma linha no Sphinx #381

Closed hjbortol closed 6 years ago

hjbortol commented 6 years ago

Por favor, vejam o GIF animado em anexo. Help!

comentando

forasphinx #vemlatex

simas0 commented 6 years ago

Mantenha a edentacao da linha com três espaços como estava no início do GIF e como estão os demais parágrafos. Então ponha ponto ponto espaço. Isso desde servir.

Em 8 de fev de 2018 15:14, "hjbortol" notifications@github.com escreveu:

Por favor, vejam o GIF animado em anexo. Help!

[image: comentando] https://user-images.githubusercontent.com/7694624/35987395-b230aba2-0ce2-11e8-9910-3fe741ccf448.gif

forasphinx #vemlatex

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/livro-aberto/BookCloud/issues/381, or mute the thread https://github.com/notifications/unsubscribe-auth/APpa1V6Sfv34zalXKxrU-_5xKyzXaw47ks5tSyuDgaJpZM4R-tv0 .

hjbortol commented 6 years ago

Não deu certo! :( O que estou comentando é um parágrafo dentro de um item que, por sua vez, está dentro de um box para o professor ...

augustoteixeira commented 6 years ago

Isso funcionou pra mim:

.. admonition:: Para o professor

   We see that

   * The next lesson is that you have unlearn your prejudices that you've gotten from TV and movies, where a hacker sits down at a computer and breaks crypto. These are either unrelated to crypto, or a dramatization of what really goes on. For example, the movie "Sneaker" is a dramatization of what would happen if somebody developed a chip that could factor large integers.
   * The lesson is that you have unlearn your prejudices that you've gotten from TV and movies, where a hacker sits down at a computer and breaks crypto. These are either unrelated to crypto, or a dramatization of what really goes on. For example, the movie "Sneaker" is a dramatization of what would happen if somebody developed a chip that could factor large integers.

     .. Lesson is that you have unlearn your prejudices that you've gotten from TV and movies, where a hacker sits down at a computer and breaks crypto. These are either unrelated to crypto, or a dramatization of what really goes on. For example, the movie "Sneaker" is a dramatization of what would happen if somebody developed a chip that could factor large integers.

     You have unlearn your prejudices that you've gotten from TV and movies, where a hacker sits down at a computer and breaks crypto. These are either unrelated to crypto, or a dramatization of what really goes on. For example, the movie "Sneaker" is a dramatization of what would happen if somebody developed a chip that could factor large integers.
hjbortol commented 6 years ago

Deu certo! Mas não há o syntax highlight para o bloco comentado:

image