Skip to content

Commit fb4292b

Browse files
committed
colorização sintática
1 parent 35dd7c6 commit fb4292b

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

online/Livro.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
:author: Luciano Ramalho
44
:lang: pt_BR
55
:language: asciidoctor
6+
:source-highlighter: rouge
67
include::../atributos-pt_BR.adoc[]
78
:xrefstyle: short
89
:sectnumlevels: 4

online/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/bash
22
set -e # exit when any command fails
3-
asciidoctor -v $1 Livro.adoc -o index.html
3+
bundle exec asciidoctor -v Livro.adoc -o index.html
44
open index.html

online/cap01.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ id="repr01")))((("__mul__")))((("__add
443443
[[ex_vector2d]]
444444
.Uma classe simples para representar um vetor 2D.
445445
====
446-
[source, python3]
446+
[source, python]
447447
----
448448
include::../code/01-data-model/vector2d.py[]
449449
----

0 commit comments

Comments
 (0)