소스 검색

Try to add block macro for iframe.

mitm 7 년 전
부모
커밋
ad1e3dd3a7
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      build.gradle

+ 3 - 3
build.gradle

@@ -35,15 +35,15 @@ asciidoctor {
 		'orgname':'jMonkeyEngine'
 	options header_footer: true,
 		template_dirs: [file('src/templates/slim').absolutePath]
-/*
+
 	extensions {
 		block_macro(name: 'iframe') {
 			parent, target, attributes ->
-			String content = """<iframe src="${target}"></iframe>""";
+			String content = +++<iframe src="${target}"></iframe>+++;
 			createBlock(parent, "pass", [content], attributes, config);
 		}
 	}
-*/
+
 }
 
 asciidoctor.doLast {