unordered-list-asterisk.js revision 696:550f881d43ba
1117395Skan/* 2117395Skan * Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved. 3169689Skan * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4117395Skan * 5132718Skan * This code is free software; you can redistribute it and/or modify it 6117395Skan * under the terms of the GNU General Public License version 2 only, as 7132718Skan * published by the Free Software Foundation. 8117395Skan * 9117395Skan * This code is distributed in the hope that it will be useful, but WITHOUT 10117395Skan * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11117395Skan * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 12132718Skan * version 2 for more details (a copy is included in the LICENSE file that 13117395Skan * accompanied this code). 14117395Skan * 15117395Skan * You should have received a copy of the GNU General Public License version 16117395Skan * 2 along with this work; if not, write to the Free Software Foundation, 17117395Skan * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18132718Skan * 19169689Skan * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20169689Skan * or visit www.oracle.com if you need additional information or have any 21117395Skan * questions. 22117395Skan */ 23117395Skan 24117395Skan/** 25117395Skan * Test for Showdown markdown parser work with Nashorn. 26117395Skan * 27117395Skan * @test 28117395Skan * @run 29117395Skan */ 30117395Skan 31117395Skanvar input = "\n * Red\n * Green\n * Blue"; 32117395Skanvar output = converter.makeHtml(input); 33117395Skanprint(output); 34117395Skan