Skip to content

Commit d9e999c

Browse files
committed
Don't use auto hyphens
Closes gh-39
1 parent ce9875a commit d9e999c

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

src/main/css/asciidoctor.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
.doc {
1212
color: var(--asciidoctor-font-color);
13-
hyphens: auto;
13+
hyphens: none;
1414
line-height: 1.6;
1515
letter-spacing: -0.0027777778rem;
1616
margin: 0;

src/test/asciidoc/standard.adoc

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,15 @@ It's best to have one sentence per line in your source, it will still be wrapped
3535

3636

3737

38-
=== Formatted text
38+
==== Paragraph Wrapping
39+
Lines should wrap in a sensible way. Here's some text from the Spring Boot docs.
40+
Spring Boot helps you to create stand-alone, production-grade Spring-based Applications that you can run.
41+
We take an opinionated view of the Spring platform and third-party libraries, so that you can get started with minimum fuss.
42+
Most Spring Boot applications need very little Spring configuration.
43+
44+
45+
46+
=== Formatted Text
3947
*bold* & **bold**er**dash**
4048

4149
_italic_ & __ital__ice__maker__

0 commit comments

Comments
 (0)