strong.js revision 877:cf4d2252d444
1114117Simp/* 250476Speter * Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved. 31592Srgrimes * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 453909Speter * 553909Speter * This code is free software; you can redistribute it and/or modify it 653909Speter * under the terms of the GNU General Public License version 2 only, as 753909Speter * published by the Free Software Foundation. 853909Speter * 953909Speter * This code is distributed in the hope that it will be useful, but WITHOUT 1053909Speter * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11124587Sru * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 12124587Sru * version 2 for more details (a copy is included in the LICENSE file that 1353909Speter * accompanied this code). 1453909Speter * 15124587Sru * You should have received a copy of the GNU General Public License version 1653909Speter * 2 along with this work; if not, write to the Free Software Foundation, 17108574Sjmallett * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 1853909Speter * 1953909Speter * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 2053909Speter * or visit www.oracle.com if you need additional information or have any 2153909Speter * questions. 2253909Speter */ 23104385Smike 2453909Speter/** 2553909Speter * Test for Showdown markdown parser work with Nashorn. 2653909Speter * 2753909Speter * @test 28124587Sru * @run 2970922Sdougb */ 30124587Sru 3153909Spetervar input = "\n**important**\n\n__important__\n\nreally **freaking**strong"; 32101808Sdwmalonevar output = converter.makeHtml(input); 33117675Smarkmprint(output); 3453909Speter