print_parsed_markdown(query)
The print_parsed_markdown
function allows you to print parsed documents in markdown.
Syntax
SELECT * FROM print_parsed_markdown(query);
This will give markdown of the document parsed using extract_layout
.
Usage Example
SELECT * FROM print_parsed_markdown((SELECT * FROM pdf_blocks_billionaires));
Output
| content |
|--------------------------------------------------------------------------------------------------------------------------------------|
| | No. | Name | Net worth (USD) | Age | Nationality | Primary source(s) of wealth | |
| |------|-------------------------|-----------------|------|-----------------------------------|-----------------------------------| |
| | null | null | null | null | null | null | |
| | 1 | Bernard Amault & family | $233 billion | 75 | France | LVMH | |
| | 2 - | Elon Musk | $195 billion | 52 | South Africa Canada United States | Tesla, SpaceX, Twitter (Currently | |
| | 3 | Jeff Bezos | $194 billion | 60 | United States | Amazon | |
| | 4 A | Mark Zuckerberg | $177 billion | 39 | United States | Meta Platforms | |
| | 5 | Larry Ellison | $141 billion | 79 | United States | Oracle Corporation | |
| | 6 | Warren Buffett | $133 billion | 93 | United States | Berkshire Hathaway | |
| | 7 | Bill Gates | $128 billion | 68 | United States | Microsoft | |
| | 8 A | Steve Ballmer | $121 billion | 68 | United States | Microsoft | |
| | 9 | Mukesh Ambani | $116 billion | 65 | India | Reliance Industries | |
| | 10 | Larry Page | $114 billion | 51 | United States | Google | |
| ## 2023 |
| In the 37th annual Forbes list of the world's billionaires, the list included 2,640 billionaires with a total net |
| wealth of $12.2 trillion, down 28 members and $500 billion from 2022. Over half of the list is less wealthy |
| compared to the previous year, including Elon Musk, who fell from No. 1 to No. 2. [7] The list also marks |
| for the first time a French citizen was in the top position as well as a non-American for the first time since |
| 2013 when the Mexican Carlos Slim Helu was the world's richest person. The list, like in 2022. counted 15 |
| under 30 billionaires with the richest of them being Red Bull heir Mark Mateschitz with a net worth of |
| $34.7 billion. The youngest of the lot were Clemente Del Vecchio, heir to the Luxottica fortune shared with |
| his six siblings and stepmother, and Kim Jung-yang, whose fortune lies in Japanese-South Korean gaming |
| giant Nexon, both under-20s.(11) |
| |