Why do I have to print the preview from a web browser?
AnsweredMultiMarkdown Composer uses WebView to manage the preview, which has been deprecated by Apple. The replacement, WKWebView, includes several improvements and fixes. But also has some limitations.
One of these is that WKWebView doesn't support printing. That's right, however many years in, and you still can't print using the Apple recommended web view....
WebView has been deprecated for several years, and at some point it will stop working. Rather than put effort into an obsolete technology, we wanted the preview in nvUltra to be something that will last. So we went with WKWebView.
Once printing is supported by WKWebView, we will integrate it into nvUltra.
-
Official comment
In the meantime, you can always use Marked 2. nvUltra can send directly to Marked, and I'll be making all of the default preview styles from nvUltra avaiable in the Custom Styles repository.
-
Similarly, you can also use MultiMarkdown Composer. nvUltra can open your file directly in Composer, and the preview CSS from nvUltra can also be used in Composer.
0 -
As of the "Marked 2" beta, nvUltra uses the newer WKWebView, which as of macOS 11.0 supports printing.... Finally!!
Due to this, and a few other improvements, nvUltra no longer has to run a custom web server to handle the preview. This simplifies the code and improves memory usage.
Printing the preview (or exporting to PDF) no longer requires the use of a web browser, but it does require macOS 11.0 or above.
Printing from the text editor works the same as always.
0
Please sign in to leave a comment.
Comments
3 comments