Тёмный
No video :(

Introducing My Workflow With Pandoc Markdown 

Brodie Robertson
Подписаться 84 тыс.
Просмотров 40 тыс.
50% 1

==========Amazon Links==========
► Buy Anything: amzn.to/3d5gykF
► Blue Yeti USB Microphone: amzn.to/2X4pQHR
► Logitech C920 Pro Webcam: amzn.to/2THlJzE
► Neewer 176 LED Video Light: amzn.to/3eqp7a2
💖 Subscribe and ding the bell for more videos!
👍 Leave a like if you got something out of this video!
✍ Comment some video feedback or what you want to see next time!
Recently I did a video talking about why I liked using markup languages so today I thought I'd talk about something a bit more practical and discuss what I actually use alongside pandoc to effectively write assignments, this includes pandoc itself, pandoc filters, latex math and a little bit of shell script to bring it all together.
==========Support The Channel==========
► Patreon: / brodierobertson
► Paypal: www.paypal.me/...
► BTC Wallet Address: 1Aokiv3pFQXUEmh2LbzZQAwxMvq6bpT2UN
► ETH Wallet Address: 0x80451867c86bdf08c3888d407c1e3fcb6add61ed
► LBC Wallet Address: bLRN9fm17sCexKfgbYqmMj5xskZF2ogpEh
=========Video Platforms==========
📚 LBRY Podcast: open.lbry.com/...
🎥 RU-vid Podcast: / @techovertea
🎥 LBRY: open.lbry.com/...
📚 LBRY Referral Link: lbry.tv/$/invi...
📺 BitTube: bittube.tv/pro...
==========Social Media==========
🎤 Discord: / discord
🐦 Twitter: / brodieonyoutube
🌐 Mastodon: mstdn.social/@...
📷 Instagram: / techovertea
🧠 Minds: www.minds.com/...
✉️ Telegram: t.me/BrodieRob...
==========Resources==========
==========My Repos==========
🖥️ GitHub: github.com/Bro...
==========Credits==========
🎨 Channel Art:
All my art has was created by Supercozman
/ supercozman
/ supercozman_draws
🎵 Ending music
Music from filmmusic.io
"Basic Implosion" by Kevin MacLeod (incompetech.com)
License: CC BY (creativecommons...)
DISCLOSURE: Wherever possible I use referral links, which means if you click one of the links in this video or description and make a purchase we may receive a small commission or other compensation.
I am a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for us to earn fees by linking to Amazon.com and related sites.

Опубликовано:

 

6 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 71   
@BrodieRobertson
@BrodieRobertson 4 года назад
If you use something different for writing let me know, maybe it'll help me and other people in the comments improve upon their workflow.
@TheSupergabriel64
@TheSupergabriel64 4 года назад
Org mode.
@BarryArthur
@BarryArthur 4 года назад
Try asciidoctor.org/ and casual-effects.com/markdeep/
@BrodieRobertson
@BrodieRobertson 4 года назад
Writing an assignment in org mode would be a bit of a challenge
@GavinFreeborn
@GavinFreeborn 4 года назад
I use groff(with eqn, grap, tbl, and pic) for all my classes aslong as I don't need syntax highlighting (great for math classes). If I do need syntax highlighting I use pandoc through groff to pdf. As powerful as latex is I find I can do everything I have ever needed. It compiles faster, Allows (pretty much)full customization without having to import anything, and you can easily extend it by wrighting your own macros or preprocessors. People really underestimate how much you can do with it people have even used it to make slideshows and buisness cards. If I want to do something simple I use a preprocessor called jot that can be found on gitlab. Jot allows you to use markdown syntax in groff. Jot makes using code blocks alot easier since it esapes your code for you since it apears as you would expect.
@GavinFreeborn
@GavinFreeborn 4 года назад
@@BrodieRobertson I've used orgmode for math before I just started using groff and you can do all of this stuff with orgmode. It has native latex support
@patrickprucha5522
@patrickprucha5522 11 месяцев назад
Interesting video. If i can make a suggestion. This is only because i am retired Quality Engineer. I have to say when i see work flow, i expect to see a process map. So what really would be very cool and useful, is to start off with a process map, which identifies the start to the end. For example: create md file -> convert with pandoc -> next step -> next step -> pdf file -> end. Then your video would concentrate on how to use the workflow. I would also include a "required tools/software" and "required knowledge" and possibly "who would be needing this workflow". You mentioned in your video, that this would be useful for those of us who are creating a lot of documentation. For those that don't produce papers for school/university may have other means of doing it. With one page we can use to help us achieve what we want to achieve. Sorry for the long comment. Thanks for your video, for it was very informative. My take away from this, is if i need to create lots of documents, this path may be worth it. For now i need a simpler method for my basic needs. Cheers
@MrZombieSwamp
@MrZombieSwamp 4 года назад
Just a quick tip: when writting something on your videos, try to do it on the left side of the screen or perhaps more or remove your webcam on those moments. Nice video as always Brodie
@BrodieRobertson
@BrodieRobertson 4 года назад
I did spot that, I should have re-recorded that section. I do have a binding to move my webcam I just forgot to do it.
@05carsm
@05carsm 4 года назад
I have tried a ton of text editors, including typora (a wysiwyg sort of thing), and still haven't found one that recognizes footnotes which is something I work with everyday (social sciences), so I just use geany (doesn' t either btw, maybe some developer can cash on this, because a lot of us on social sciences are running away from windows/word and all that environment) because it is lightweight (it runs in a pentium with antix linux, that I rescued and use it as my typewriter) and pandoc does the magic turning it to pdf, that's my input right now, useful vid Brodie, nice content as always, thank you
@hermannpaschulke1583
@hermannpaschulke1583 4 года назад
I remember those blue headlines being the default in Office 2010. I think that's why they are like this, they simply copied the default formatting
@marekstepanek6501
@marekstepanek6501 4 года назад
Hi Brodie, I am using the combo: Markdown => Makefile => pandoc => LaTeX-template => pdf. In my original markdown is a little YAML Head, like you explained in your video. −−− title: My RU-vid-Postings 06 subtitle: Compiled from Markdown Document authors: Marek Stepanek left-header: Comments to RU-vid & Bigchute & Vimeo right-header: \today −−− Then a LaTeX-template, with place holders like $title$ and $body$. And a Makefile also in YAML, setting up the input/output file, the template for pandoc. At the end of the Makefile I inserted a second command to open the just compiled pdf. In vim I issue just :!make and that’s it. I am even writing letters, manuals and books like that.
@yash1152
@yash1152 2 года назад
hey, how do u insert a page break in this workflow? i know markdown alone can't do it, but surely there must be some way to do that in source which can get correctly interpreted while rendering to pdf.
@marekstepanek6501
@marekstepanek6501 2 года назад
@@yash1152 Hi Yash, its depending how you use pandoc. Compiling from markdown over LaTeX to pdf, you insert line breaks with just a \ at the end of the line (without a space after). Or ewline ... Compiling to HTML you insert into the markdown original.
@yash1152
@yash1152 2 года назад
@@marekstepanek6501 hey, no, not line breaks. i was asking about page breaks - that will appear in the final pdf once the markdown is rendered.
@marekstepanek6501
@marekstepanek6501 2 года назад
@@yash1152 Sorry! Insert ewpage don't know how to do it to compile in html
@yash1152
@yash1152 2 года назад
​@@marekstepanek6501 hi, it didn't work even with pdf. i tried doing ewpage in the markdown file, and exported it to pdf using pandoc. and the page break was not there. i tried with some variations like $ ewpage$ or ${ ewpage}$ but still no go
@what-about-bob
@what-about-bob 5 месяцев назад
I was looking for a better workflow for my college assignments than word processors or just basic markdown. Didn't know pandoc had these filters. Spent money on LaTeX books but didn't want to write in LaTeX knowing markdown was easier. This video was very helpful. Thank you. Liked and subscribed.
@DennisLeexyz
@DennisLeexyz 4 года назад
When I use pandoc to convert to pdf the only engines that seem to have full Unicode support are wkhtmltopdf and weasyprint. Out of those two, the html one always gives me black boxes over the document when converting from docx, but weasyprint works pretty well. Actually, it seems like the LaTeX ones would work if I just specified proper fonts in the LaTeX source, but if I'm only using it as an intermediate format I'd rather not deal with that. Pandoc seems to let you specify an arbitrary executable for the engine, so maybe I could use a troff variant with Unicode support (not groff), but I haven't bothered.
@brettknoss486
@brettknoss486 3 года назад
I think you can get additional ins for LaTex. As for pdf, work converts quite easily. One big problem though, is I can't seem to get contents to work right.
@andrewkamoha4666
@andrewkamoha4666 Год назад
4:59 A little bit tough to read the CLI with Brodie on top ...
@chaotic_keystroker
@chaotic_keystroker 4 года назад
You should consider switching to asciidoc. Markdown is great, but there are multiple md syntaxes. Plus asciidoc has some pretty neat features, along with extensibility.
@BrodieRobertson
@BrodieRobertson 4 года назад
Sure there are multiple md syntaxes but I only work in Pandoc Markdown. I might check out asciidoc though
@bruderdasisteinschwerermangel
@bruderdasisteinschwerermangel 4 года назад
I'm still playing around with using Markdown, or R markdown to write my thesis.
@BryanJenks
@BryanJenks 4 года назад
Rmarkdown in rstudio will let you have code chunks and allow you to embed parameterized or programatic logic into the document, markdown isnt as flexible as that but that more of just the rstudio editor functionality. there's also the Rmarkdown package `thesisdown` and various LaTeX templates to covert it into a thesis that meets your university requirements :)
@BrodieRobertson
@BrodieRobertson 4 года назад
You're the biggest shill of rmarkdown and rstudio I've ever seen.
@BryanJenks
@BryanJenks 4 года назад
@@BrodieRobertson LUL thats because ive had so many business use cases for it, it works an all 3 of the major OS's or at least a lot of Linux distros as well as windows and mac, it can even be installed portably on locked down systems and It JuSt WeRkS lol if i could use linux at work i'd be far more productive that with windows.
@bruderdasisteinschwerermangel
@bruderdasisteinschwerermangel 4 года назад
@@BryanJenks some of r markdowns functionality seems nice, but I'm not sure if I'll actually need it
@Socio_Linux
@Socio_Linux 4 года назад
I prefer Rmarkdown over regular markdown 'cause I can use tex templates instead of header-includes, I've the tex code that you put in header-includes in the template and just have to call it in the yaml on the output: pdf_document section. Great video.
@yash1152
@yash1152 2 года назад
3:34 umh, why don't u use pipe (or say the vertical bar) character as a separator for each cell in a row?? doing just "space separated columns" would be so hard.
@denierothom621
@denierothom621 4 года назад
What are the differences between using pandoc for getting latex into markdown or R markdown? I find it a bit confusing...
@WelteamOfficial
@WelteamOfficial 4 года назад
I just watched the whole video and i feel like you explained how to do manually what RMarkdown does automatically. Correct me if i'm wrong
@BrodieRobertson
@BrodieRobertson 4 года назад
Haven't used Rmarkdown so I couldn't tell you, and what do you mean it does it automatically, it does what automatically?
@WelteamOfficial
@WelteamOfficial 4 года назад
@@BrodieRobertson Basicly you write a markdown and/or latex document with a YAML header then you compile in one line of code. The output format is in the header and it does all the convertion. Moreover it's been a long time but i feel like installing everything was easier than in your video but i may be wrong. You can look up Luke's introduction on it. That's better than my wakky explaination.
@marcin6386
@marcin6386 Год назад
How about wrapping figures with text ? Is that possible?
@yash1152
@yash1152 2 года назад
2:26 start here 9:61 cross referencing in markdown
@ianpan0102
@ianpan0102 4 года назад
Typora is a great markdown editor that previews inline. I hope it stays free forever.
@BrodieRobertson
@BrodieRobertson 4 года назад
Had never heard of that before but it seems like a pretty cool tool
@ianpan0102
@ianpan0102 4 года назад
@@BrodieRobertson Yeah it's becoming a popular editor for markdown editing among young computer science students who prefer an out-of-the-box tool.
@awabqureshi814
@awabqureshi814 4 года назад
Nice, wanted to see this
@Bekon241
@Bekon241 3 года назад
Ah You sey universal converter? Is posible convert dos wordstar 4.0 or 7 file *.ws to some modern format with formating? RTF DOC ODT PDF? My problem is i have converter to plain txt but this is problem coz my all formating like bold italic center or paragraph, broken after conversion secound problem i use polish language thats why i must use plain txt coz i dont have other working format who properly display Polish fonts like ąęśżźńćół. Can You check this for me? My language use utf-8 not ansi in dos codepage is 852 (latin II). Thanks, cheers from Poland i wait for answer Mr. Brodie.
@smeestad
@smeestad 3 года назад
Really useful, thank you! I created a keyboard shortcut in vs code to convert to pdf
@smeestad
@smeestad 3 года назад
I also found the extension Markdown All in One to provide some practical features
@claudiodeluca2357
@claudiodeluca2357 2 года назад
Hello , im a developer. I would need to Mark the business rules in my app. This rules are scattered across Many files. I need a tool that read all files involved and put together all rules relative to a certain administrative circuit. Is Pandoc able to do that?
@loishik5404
@loishik5404 4 года назад
Nice one!
@gl0sek
@gl0sek 4 года назад
I tried converting vimwiki with markdown syntax to html and the only issue I had was that the link still points to *.md and not to *.html.
@claytondunavant7033
@claytondunavant7033 4 года назад
I had this issue too, but I solved it by making a script using sed to replace all instances of ".md" to ".html"
@AnalyticMinded
@AnalyticMinded 4 года назад
I had the same issue as well. You can use "lua" filters to do that. I copied the code I found in a Stackoverflow question to first create a .lua file, and then referenced that file in my Makefile to convert internal vimwiki-markdown links to html links and output a clickable HTML wiki.
@monsterthrash
@monsterthrash 4 года назад
What terminal font are you using?
@BrodieRobertson
@BrodieRobertson 4 года назад
JetBrains Mono Medium
@ji3230
@ji3230 4 года назад
what is yay...?
@BrodieRobertson
@BrodieRobertson 4 года назад
It's an AUR helper that makes using the AUR feel like using Pacman
@senninscorpion
@senninscorpion 4 года назад
Interesting I hated when Microsoft "auto" numbering did stuff wrong.
@mydayswithoutyou
@mydayswithoutyou 4 года назад
Frankly, to me it is not attractive this mixture of md and latex. Isn't it easier and more robust just to write a good old LaTeX document? Maybe I am biased because for my work I write such sophisticated latex stuff that this approach would be ridiculous, and I only produce pdf files (sometimes ps), so I don't need the option of docx or anything else. I can't even imagine to need this flexibility. When I need a odt/docx or whatever (rarely), I just fire up LibreOffice, and then I can always trivially export as pdf, if I need that. In all other cases, I use Latex. But perhaps I missed the point of the video. (By the way, there are very good reasons for letting the tex engine decide where to put the floating objects like figures, but you start to appreciate the benefit when you write non-trivial documents)
@BrodieRobertson
@BrodieRobertson 4 года назад
For non trivial documents absolutely latex is amazing but I've had a few assignments where the formatting didn't particularly matter but I still needed to include formulas and for those this setup is perfect for me.
@fuseteam
@fuseteam 4 года назад
t-t-t-t-twinty minutes?!? o.O
@BrodieRobertson
@BrodieRobertson 4 года назад
I've got a few long ones coming out soon
@fuseteam
@fuseteam 4 года назад
@@BrodieRobertson eeeeeeh
@ppal64
@ppal64 Год назад
Just wasting time.
@andrewiglinski148
@andrewiglinski148 Год назад
Hey dude… quick question. I haven’t looked too much into it so I’m not sure if there’s an obvious solution but these workflow videos made me think: Is there a way to parse markdown files with the MySt syntax used in jupyter books without actually writing them inside of a jupyter book directory? The added features are awesome but I always feel like it’s not worth going through the jupyter book hassle for just random notes I want to jot down.
Далее
Was Rust In The Linux Kernel A Mistake?
26:09
Просмотров 72 тыс.
Первый день школы Катя vs Макс
19:37
Pandoc Crash Course
19:17
Просмотров 10 тыс.
Hyprland's Developer Is Not A Fan Of COSMIC Desktop
25:00
Why I Switched From LaTeX to Markdown | #113
10:43
Просмотров 56 тыс.
TUG 2020 - John MacFarlane - Pandoc for TeXnicians
57:26
Convert Markdown to PDF (Pandoc and Groff)
11:06
Просмотров 11 тыс.
Your Quarterly Linus Torvalds Linux Rant
23:01
Просмотров 32 тыс.