this esdiscuss discussion에 따르면 ECMAScript 6에서는 줄의 맨 처음에 문자열의 후속 줄을 배치 할 필요없이 여러 줄을 정의 할 수 있습니다.들여 쓰기를 끊지 않는 여러 줄 문자열
var a = dontIndent
`This is a template string.
Even though each line is indented to keep the
code neat and tidy, the white space used to indent
is not in the resulting string`;
사람이 달성 할 수있는 방법을 설명 할 수 :
코드 예제를 포함? 들여 쓰기에 사용 된 공백을 제거하기 위해 이것을dontIndent
것으로 정의하는 방법은 무엇입니까?
이제는 npm에 여러 개의 모듈이 있습니다. 대부분은 "dedent"에 대한 키워드 검색을 통해 찾을 수 있습니다 (https://www.npmjs.com/browse/keyword/dedent) – Nickolay