mo-seph / obsidian-copy-as-latex

Quick plugin to be able to copy/paste from Obsidian/Markdown into a Latex document
MIT License
35 stars 8 forks source link

Question: how can I markdown for \title{} ? #8

Open primal-buddhist opened 2 years ago

primal-buddhist commented 2 years ago

Markdown guides want me to use # for the title and ## subsequently. But I want # to always translate into Section (which is exactly what this plugin expects also. )

So is this another example of a missing markdown->latex element?

mo-seph commented 2 years ago

Good question - I didn't really worry about \title{}, as it's so different in different documents. It's also mostly outside \begin{document}...\end{document}, so not easy to copy/paste in.

In terms of mapping # or ## to Sections or subsections, I can see making that configurable, so that it works either way

primal-buddhist commented 2 years ago

Yes, agreed.

What about toggled options for:

?