h4-with-single-hash.js revision 696:550f881d43ba
1240116Smarcel/*
2240116Smarcel * Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
3240116Smarcel * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4240116Smarcel *
5240116Smarcel * This code is free software; you can redistribute it and/or modify it
6240116Smarcel * under the terms of the GNU General Public License version 2 only, as
7240116Smarcel * published by the Free Software Foundation.
8240116Smarcel *
9240116Smarcel * This code is distributed in the hope that it will be useful, but WITHOUT
10240116Smarcel * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11240116Smarcel * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
12240116Smarcel * version 2 for more details (a copy is included in the LICENSE file that
13240116Smarcel * accompanied this code).
14240116Smarcel *
15240116Smarcel * You should have received a copy of the GNU General Public License version
16240116Smarcel * 2 along with this work; if not, write to the Free Software Foundation,
17240116Smarcel * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18240116Smarcel *
19240116Smarcel * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20240116Smarcel * or visit www.oracle.com if you need additional information or have any
21240116Smarcel * questions.
22240116Smarcel */
23240116Smarcel
24240116Smarcel/**
25240116Smarcel * Test for Showdown markdown parser work with Nashorn.
26240116Smarcel *
27240116Smarcel * @test
28240116Smarcel * @run
29240116Smarcel */
30240116Smarcel
31240116Smarcelvar input = "#### This is an H4";
32240116Smarcelvar output = converter.makeHtml(input);
33240116Smarcelprint(output);
34240116Smarcel