Discourse allows you to create a PDF of a topic by using the CTRL+P keyboard shortcut from within a topic. That command will open a new browser window that allows you to save the topic as a PDF:
The shortcut for creating a PDF is given in the Actions section of the keyboard help window.