I find curvenote as a great tool for research writing. It combines Jupyter notebook with a markdown rich text editor based content authoring. Bibtex (reference management), figures, tables everything flows easily.