markdown-extract icon indicating copy to clipboard operation
markdown-extract copied to clipboard

Change sample workflow to use heredoc to more safely dump markdown to…

Open jayqi opened this issue 10 months ago • 0 comments

Updates the sample GitHub Actions workflow to improve the "Write output to file" step. The previous version of this step breaks if the markdown content contains an apostrophe—see #25.

The proposed version uses heredoc to write out the file. Single quotes are used to avoid any variable substitution or backtick evaluation.

Here's a demo of it working successfully:

jayqi avatar Feb 15 '25 06:02 jayqi