There is a parse transform, that helps with this issue. It stores raw strings as comments in the file's header. https://github.com/mad-cocktail/pisco#example-1 Other examples: https://github.com/mad-cocktail/pisco/blob/master/test/pisco_tests.erl -- Best regards, Uvarov Michael