doctypeKeywordCase

Control the case of "doctype" keyword in <!DOCTYPE>.

Possible options:

  • "ignore": Keep the case as-is.
  • "upper": Print "DOCTYPE" in upper case.
  • "lower": Print "doctype" in lower case.

Default option is "upper".

Example for "ignore"

Input:

<!DOCTYPE html>
<!doctype html>

Output:

<!DOCTYPE html>
<!doctype html>

Example for "upper"

Input:

<!DOCTYPE html>
<!doctype html>

Output:

<!DOCTYPE html>
<!DOCTYPE html>

Example for "lower"

Input:

<!DOCTYPE html>
<!doctype html>

Output:

<!doctype html>
<!doctype html>