Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
in Q2A Core by
I need to create a script that will print out all the questions and answers.  I am able to pull the data from the database but the questions and answers are not formatted correctly.  What functions are used to format the question and answers on the site?
I think it may depend on the editor plugin, but I'm not sure.

1 Answer

0 votes

Try qa_viewer_text(...) and qa_viewer_html(...) in qa-app-format.php, passing them the content and format column data. These will return the post rendered in text or HTML format respectively.