h3-with-double-hash.js revision 877:cf4d2252d444
14910Swollman/*
24910Swollman * Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
34910Swollman * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44910Swollman *
530300Sjoerg * This code is free software; you can redistribute it and/or modify it
625944Sjoerg * under the terms of the GNU General Public License version 2 only, as
74910Swollman * published by the Free Software Foundation.
825944Sjoerg *
988534Sjoerg * This code is distributed in the hope that it will be useful, but WITHOUT
1025944Sjoerg * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
114910Swollman * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
124910Swollman * version 2 for more details (a copy is included in the LICENSE file that
134910Swollman * accompanied this code).
144910Swollman *
154910Swollman * You should have received a copy of the GNU General Public License version
164910Swollman * 2 along with this work; if not, write to the Free Software Foundation,
174910Swollman * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
1830300Sjoerg *
1916288Sgpalmer * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
2050477Speter * or visit www.oracle.com if you need additional information or have any
214910Swollman * questions.
224910Swollman */
2340008Sjoerg
2440008Sjoerg/**
2542065Sphk * Test for Showdown markdown parser work with Nashorn.
2632350Seivind *
2754263Sshin * @test
2831742Seivind * @run
2940008Sjoerg */
3031742Seivind
3140008Sjoergvar input = "### This is an H3 ###";
3240008Sjoergvar output = converter.makeHtml(input);
3340008Sjoergprint(output);
3454263Sshin