If you want to place a conditional word break, including an added hyphen at the end of the line, you can add ­
within your text.
This answers a slightly different problem than the one asked above, but while looking for this solution I first stumbled across this question.