I am using google docs API (https://developers.google.com/docs/api/reference/rest/v1/documents/get) to generate HTML from docs.
I have some code blocks in the docs, while parsing the doc JSON to HTML, i am getting a table block for the code block.
how can I export code block to pre tag?
I am using google docs API (https://developers.google.com/docs/api/reference/rest/v1/documents/get) to generate HTML from docs. I have some code blocks in the docs, while parsing the doc JSON to HTML, i am getting a table block for the code block. how can I export code block to
pre
tag?