h2-with-single-hash.js revision 877:cf4d2252d444
1293116Semaste/*
2293116Semaste * Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
3293116Semaste * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4293116Semaste *
5293116Semaste * This code is free software; you can redistribute it and/or modify it
6293116Semaste * under the terms of the GNU General Public License version 2 only, as
7293116Semaste * published by the Free Software Foundation.
8293116Semaste *
9293116Semaste * This code is distributed in the hope that it will be useful, but WITHOUT
10293116Semaste * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11293116Semaste * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
12293116Semaste * version 2 for more details (a copy is included in the LICENSE file that
13293116Semaste * accompanied this code).
14293116Semaste *
15293116Semaste * You should have received a copy of the GNU General Public License version
16293116Semaste * 2 along with this work; if not, write to the Free Software Foundation,
17293116Semaste * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18293116Semaste *
19293116Semaste * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20293116Semaste * or visit www.oracle.com if you need additional information or have any
21293116Semaste * questions.
22293116Semaste */
23293116Semaste
24293116Semaste/**
25293116Semaste * Test for Showdown markdown parser work with Nashorn.
26293116Semaste *
27293116Semaste * @test
28293116Semaste * @run
29293116Semaste */
30293116Semaste
31293116Semastevar input = "## This is an H2";
32293116Semastevar output = converter.makeHtml(input);
33293116Semasteprint(output);
34293116Semaste