diff --git a/src/json-ld.tsx b/src/json-ld.tsx index ed77b9e..599f016 100644 --- a/src/json-ld.tsx +++ b/src/json-ld.tsx @@ -34,18 +34,21 @@ import { Thing, WithContext } from "schema-dts"; * }, * knowsAbout: ["Compilers", "Computer Science"] * }} + * space={2} * /> * ``` */ export class JsonLd extends React.Component<{ item: WithContext; + /** Adds indentation, white space, and line break characters to JSON-LD output. {@link JSON.stringify} */ + space?: string | number; }> { render() { return (