Skip to content
#

parser

Here are 8,961 public repositories matching this topic...

dtzxporter
dtzxporter commented Oct 7, 2021

Marked version:
3.x.x

Describe the bug
A clear and concise description of what the bug is.

Right now, import {use} from "markedjs" does not work, this worked in 2.x.x.

To Reproduce
Steps to reproduce the behavior:

Install & import it.
The DefinitelyTyped definitions also mark this incorrectly as being supported still.

A workaround is importing one of the structur

Markdown parser, done right. Commonmark support, extensions, syntax plugins, high speed - all in one. Gulp and metalsmith plugins available. Used by Facebook, Docusaurus and many others! Use https://github.com/breakdance/breakdance for HTML-to-markdown conversion. Use https://github.com/jonschlinkert/markdown-toc to generate a table of contents.

  • Updated Feb 20, 2022
  • JavaScript
ihar-orca
ihar-orca commented Feb 21, 2022

A full script:

#!/bin/bash

cat /etc/passwd | cut -f3 -d":" | sort -n | uniq -c | while read x; do
	[ -z "${x}" ] && break
	set - $x
	if [ $1 -gt 1 ]; then
		users=$(awk -F: '($3 == n) { print $1 }' n=$2 /etc/passwd | xargs)
		exit 1
	fi
done

Just a simple script to reproduce the issue:

#!/bin/bash
set - "test"

When I'm trying to run this script using the inte

NDagestad
NDagestad commented Dec 5, 2021

When getting the values and shadows of a key, if there are no values at all, StringsWithShadows will return an array with an empty string. This does not seem like the right behaviour.
I would expect StringsWithShadows to return an empty array if there are no values. The documentation says that ValueWithShadows returns the raw value so there is a case to be made for it to return an empty string, b

Improve this page

Add a description, image, and links to the parser topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the parser topic, visit your repo's landing page and select "manage topics."

Learn more