Function creating the user interface to see formatted documents.

view_document(selected, original, course_paths)

Arguments

selected

Tibble. Selected document.

original

Logical. Whether the document is the original (TRUE) or a translation (FALSE).

course_paths

Reactive. Function containing a list of paths to the different folders and databases on local disk.

Value

User interface showing the formatted document.

Author

Nicolas Mangin