trigaten/Learn_Prompting

Copy code adds ,[object Object]

niebag opened this issue · 4 comments

https://learnprompting.org/docs/basics/prompting#1-summarizing-an-article

Copying the follwing prompt text from 1) Summarizing an Article adds ",[object Object]" instead of "Summarize this paragraph in a single sentence:"

Expected:

It is very rare for snow to fall in the U.S. state of Florida, especially in the central and southern portions of the state. With the exception of the far northern areas of the state, most of the major cities in Florida have never recorded measurable snowfall, though trace amounts have been recorded, or flurries in the air observed few times each century. According to the National Weather Service, in the Florida Keys and Key West there is no known occurrence of snow flurries since the European colonization of the region more than 300 years ago. In Miami, Fort Lauderdale, and Palm Beach there has been only one known report of snow flurries observed in the air in more than 200 years; this occurred in January 1977. In any event, Miami, Fort Lauderdale, and Palm Beach have not seen snow flurries before or since this 1977 event.
Summarize this paragraph in a single sentence:

Copy code result:

It is very rare for snow to fall in the U.S. state of Florida, especially in the central and southern portions of the state. With the exception of the far northern areas of the state, most of the major cities in Florida have never recorded measurable snowfall, though trace amounts have been recorded, or flurries in the air observed few times each century. According to the National Weather Service, in the Florida Keys and Key West there is no known occurrence of snow flurries since the European colonization of the region more than 300 years ago. In Miami, Fort Lauderdale, and Palm Beach there has been only one known report of snow flurries observed in the air in more than 200 years; this occurred in January 1977. In any event, Miami, Fort Lauderdale, and Palm Beach have not seen snow flurries before or since this 1977 event.
,[object Object]

Thank you, im looking into this.

Im a bit stuck on this. In order to make this work properly, I believe I need CodeBlock-like logic, but Im having this problem with CodeBlock: facebook/docusaurus#9240

Ill keep looking into this :)

No hurry!

It's not something that bothered me but thought it would've been notable :)

Alright, I did some reversing of MDX parsing, and it seems to be fixed in the newest build.