public static String normalizeNewlines(String input) {
        return input.replaceAll("\r?\n", System.lineSeparator());
    }
Replaces all newline characters in a string with the system line separator.
@param input The string to normalize
@return A string with system-appropriate newlines.
smithy-docgen/src/main/java/software/amazon/smithy/docgen/DocgenUtils.java