-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Did a bit of an overhaul #3
base: master
Are you sure you want to change the base?
Conversation
I should probably mention that I did strip a bunch of stuff out that might have been useful to keep around (like the wiki files, or your upload script), but I only did this to help organize myself, and if you do decide to accept the pull request you should definitely look through and see what you want to add back in :) |
Thanks! Since people (including me) hates using haskell for (only) build, I happen to exclude them from PKGBUILD, but provides the stripped version, which make our package a bit lagging from arch-wiki-docs. I love your most of contributions! But could you check "arch-wiki acpi" for example, the bottom of the page is not rendered quite correctly by vim markdown :) Could you check it again for me? |
I've actually been testing a bunch of docs since sending the pull request and have noticed that here and there as well (the longer the doc the more likely it is to happen). I believe it's the markdown plugin I forked getting confused when it hits the multi-line code, and since I've forked that repo I might not actually have to change anything in this project to make things work. Either way, let me take a look and see if I can come up with a fix. |
Also, re: haskell; I'm not sure if you were talking exclusively about the current arch-wiki-markdown or both it and my changes, but in case you were referring to both, haskell can be removed after pandoc-static has been built, and both I fully agree with your feelings on having it around + have been converting via PKGBUILD, so this project might be able to drop the maintained wiki rip and rely exclusively on the arch-wiki-docs or live (I've been using the live method, which takes about half an hour to build, and it's only a few weeks newer, but a LOT has changed in that few weeks) |
I'm just going through the mkd syntax file now and haven't found the bug responsible for the issue you and I discovered today, but I've already found and fixed a few other upstream bugs which I'll be pushing to plasticboy's repo soon- hopefully I'll have something that doesn't break for our purposes by the end of the night (well, night for me haha). BTW, off topic, but I just noticed you're the author of mbox, which is an awesome little tool! I found and added it to the Arch Assault repo (here) the other day and have been playing around with it quite a bit since :) |
Cool! I fixed the issue and a few others in my vim-markdown-concealed repo as well as submitting a pull request for them upstream, and I added conceal support for the tags relating to those issues to my repo as well :) You can test the changes by rebuilding the package, and you can save some time if you still have the package directory with your converted files from your previous build by making with: Let me know if you notice any other glaring issues! |
Thanks for quick fix. I actually like most of your updates! Here are three minor stuffs. What do you think?
|
Hey! Thanks for adding me to the project- we could start working out of a branch on this if you want to be doing things in the same place?
Cheers |
Welcome and thank you for the contributions!
I will be able to find some time to fix them at the end of next week or so (if you can't find time to play with!). Thank you again! |
I set the background so the same colours would work on terminals with both light and dark backgrounds, but a different coloured background could definitely look better. Thoughts on what direction to go? (Lighter? Darker? Some colour?) Maybe this wouldn't make sense to do until we hammered down a next release (if you like it), but your comment on the colour-scheme gave me an idea. We could have |
Alright! I've made a ton of changes to this fork of arch-wiki-markdown and even more to vim-markdown-concealed, which works wayyy better now that I fully understand how to implement concealing (most if not all issues it previously had are gone now, and it conceals way more stuff too!). The changes to arch-wiki-markdown include a ton of additional parsing to remove stuff that shouldn't be included and format things better for our purposes, better theme support (I didn't change the colours, but I did a bunch of fine tuning and targetted more syntax groups), tweaked vimrc settings, indented codeblocks instead of the ```-style, and added support for building the wiki with a text width of 78 characters, which almost works perfectly, but due to a few small issues with long links (and especially long links in codeblocks), I set it as an optional variable that defaults to off for now. When you get a chance, try building with: I'm still interested to hear what colour you think the background should be changed to too! |
Ahoy there!
I was playing around with arch-wiki-markdown a couple of weeks ago and really liked what you'd come up with, but the docs were a bit out of date and I needed a more recent list of PKGBUILD build variables, so I decided to figure out how to update to a more current iteration of the Arch Wiki. It wasn't long before I'd realized that the changes Archlinux had made to Haskell (or so I assume) had removed a lot of the dependencies, and I ended up having to install them using Cabal. Once I'd finished this, I ran the PKGBUILD and waited, but it soon failed with a bunch of errors that I couldn't seem to trace back to anything in particular (though keep in mind I'm not very experienced with Haskell). I ended up deciding that it would be better to see if I could find a different method to convert the wiki docs, and experimented with a few different directions before finding Pandoc. Now Pandoc is Haskell based as well, but it includes a package in the AUR that produces a static build, so the dependency issue isn't such a big deal, and Pandoc actually managed to convert the collection too (though I had to apply a few more filters to make things nice for our purposes here).
At this point, I'd gotten a general impression of how things worked, and being that I happen to be much more familiar with Bash and Vim (what the rest of the project is in), I figured I'd try my hand at adding some polish, and ended up adding a bunch of small improvements to your original foundation, such as colour to the AWESOME_STYLE, and a more robust configuration for vim along with a modified markdown syntax configuration that includes the conceal feature, which can hide things like the ** ** surrounding bold items, or replace the * of a bullet with a nice unicode bullet character (to keep things organized, I actually forked the vim-markdown project here).
Anyway, I realize a LOT has changed, and I would understand if you'd prefer I simply keep this as a fork, but I do feel like the core project (the arch-wiki script) is mostly untouched, and would be happy to hand the reigns back to you if you like the direction I took things.
Cheers!