Skip to content

Commit

Permalink
Don't use auto hyphens
Browse files Browse the repository at this point in the history
Closes gh-39
  • Loading branch information
philwebb committed May 4, 2021
1 parent ce9875a commit d9e999c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/css/asciidoctor.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

.doc {
color: var(--asciidoctor-font-color);
hyphens: auto;
hyphens: none;
line-height: 1.6;
letter-spacing: -0.0027777778rem;
margin: 0;
Expand Down
10 changes: 9 additions & 1 deletion src/test/asciidoc/standard.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,15 @@ It's best to have one sentence per line in your source, it will still be wrapped



=== Formatted text
==== Paragraph Wrapping
Lines should wrap in a sensible way. Here's some text from the Spring Boot docs.
Spring Boot helps you to create stand-alone, production-grade Spring-based Applications that you can run.
We take an opinionated view of the Spring platform and third-party libraries, so that you can get started with minimum fuss.
Most Spring Boot applications need very little Spring configuration.



=== Formatted Text
*bold* & **bold**er**dash**

_italic_ & __ital__ice__maker__
Expand Down

0 comments on commit d9e999c

Please sign in to comment.