From e4510f3232efb60c528143677e0e82cdb7f2b08a Mon Sep 17 00:00:00 2001 From: Peter Wicks Date: Fri, 1 Dec 2023 22:53:48 +0000 Subject: [PATCH] Example of how to insert a paywall marker --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 01531c7..56e4f16 100644 --- a/README.md +++ b/README.md @@ -67,6 +67,9 @@ post.add({'type': "paragraph", post.add({'type': 'paragraph', 'content': [ {'content': "View Link", 'marks': [{'type': "link", 'href': 'https://whoraised.substack.com/'}]}]}) +# set paywall boundary +post.add({'type': 'paywall'}) + # add image post.add({'type': 'captionedImage', 'src': "https://media.tenor.com/7B4jMa-a7bsAAAAC/i-am-batman.gif"})