terrafmt
terrafmt copied to clipboard
Does not format/recognize inline code for offset in markdown
terrafmt does not extract terraform files and does not do inline code formatting from the README.md file if, we start the Three backquotes after 4 spaces in the README.md file. It only works, if we start the Three backquotes at column 0.
Ex:
Works:

terrafmt blocks README.md
####### B1 @ #587 resource "aws_lambda_function" "pass" { function_name = "test-env" role = "" runtime = "python3.8"
environment { variables = { AWS_DEFAULT_REGION = "us-west-2" } } } Does not work

terrafmt blocks README.md
note: markdown format allows having an offset.