h1-with-double-hash.js revision 877:cf4d2252d444
1221421Snetchild/* 2252590Snetchild * Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved. 3221421Snetchild * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4252590Snetchild * 5221421Snetchild * This code is free software; you can redistribute it and/or modify it 6252590Snetchild * under the terms of the GNU General Public License version 2 only, as 7252590Snetchild * published by the Free Software Foundation. 8252590Snetchild * 9252590Snetchild * This code is distributed in the hope that it will be useful, but WITHOUT 10221421Snetchild * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11252590Snetchild * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 12252590Snetchild * version 2 for more details (a copy is included in the LICENSE file that 13252590Snetchild * accompanied this code). 14252590Snetchild * 15252590Snetchild * You should have received a copy of the GNU General Public License version 16252590Snetchild * 2 along with this work; if not, write to the Free Software Foundation, 17252590Snetchild * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18252590Snetchild * 19252590Snetchild * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20252590Snetchild * or visit www.oracle.com if you need additional information or have any 21252590Snetchild * questions. 22252590Snetchild */ 23252590Snetchild 24252590Snetchild/** 25252590Snetchild * Test for Showdown markdown parser work with Nashorn. 26252590Snetchild * 27252590Snetchild * @test 28252590Snetchild * @run 29252590Snetchild */ 30252590Snetchild 31252590Snetchildvar input = "# This is an H1 #"; 32252590Snetchildvar output = converter.makeHtml(input); 33252590Snetchildprint(output); 34252590Snetchild