Thomas Lynch
b474134ed1
ability to change permissions for any markdown, this can be extended nicely in future close #303
4 years ago
Thomas Lynch
18df9e726d
The link matching is still kinda retarded, but this actually works as intended
4 years ago
Thomas Lynch
9c7d061086
fix permlevel and unterminated regex group
4 years ago
Thomas Lynch
51f729b367
dont allow []() url regex by default, only for people with permission like staff or in newsposts, announcements, etc.
4 years ago
Thomas Lynch
1c5f14e419
This did not go as planned
4 years ago
Thomas Lynch
7eb3f4589d
markdown style links i.e. [label]( http://link )
4 years ago
Thomas Lynch
c99fbcba12
make catalog search quote links work >>>#/something/
4 years ago
Thomas Lynch
c2e7699b15
change code blocks to [code][/code], try not to interfere with sjis as much reference #278
4 years ago
Thomas Lynch
bc44b0529c
Shift JIS art support with aa code language, closes #278
4 years ago
ne0n
c98b337cd3
Minor textual improvements
4 years ago
Thomas Lynch
bbd0018a03
Okaaaay dude
4 years ago
Thomas Lynch
e87754f67e
reference #256 unique message per board/thread option
...
strips quote, so starting post with quote isnt considered unique
4 years ago
Thomas Lynch
1713291ec7
Unbreak code blocks after new dice roll fix
...
The splitregex in the markdown function didnt include ther ```'s in the match, because it doesnt include them in the code block
So when the prepare function ran, and joined the text back together, it wouldn't have any ```'s, so the code blocks would never be split or rendered.
So quick fix was add a second one that includes the ```'s when doing the dice prepare function, so it wont break the code blocks
references #214
4 years ago
some random guy
5a093ce936
do not reroll dice when re-rendering markdown
4 years ago
fatchan
6cf31b5ef3
make titles not a greedy regex
4 years ago
fatchan
e897b1c161
dice regex issue
4 years ago
fatchan
f2c707c867
highlight.js force ignore_illegal for manually language selected blocks
5 years ago
fatchan
c1cff0284d
improve dicerolls, uncomment invalid quotes
5 years ago
fatchan
8b5c88332c
scuffed way to make some links in parentheses work better
5 years ago
fatchan
4457added2
greentext with quotes changes
5 years ago
fatchan
31bec034ba
make markdown easier to add new classes
5 years ago
fatchan
9ce66a303d
change config to js file so it an include comments
5 years ago
fatchan
f32a392d0a
code theme changes to allow manually inputting language
5 years ago
fatchan
b38446201a
change how auto scroll scrolls to not change window hash, and make threshold gt not gte
5 years ago
fatchan
3a67e18695
make markdown code shorter
5 years ago
fatchan
ac0cb93b06
remove themes from footer, prep for settings UI, add code theme to board settings
5 years ago
fatchan
1df453e5d3
much more progress and proper styling for hide and hide by ID with new dropdown
5 years ago
fatchan
427fe315f7
styling fixes
5 years ago
fatchan
8f81cc7d57
dont show language or relevance when < 5
5 years ago
fatchan
6654aac041
make all that v a little cleaner
5 years ago
fatchan
23c9079c03
use highlight.js for syntax highlighting in code blocks of posts
5 years ago
fatchan
0915d7247b
major change to post markdown to use chunks so syntax highlighting can come in future
5 years ago
fatchan
8d092b8f1d
improve post markdown to use chunks so that code blocks can be processed separately and not be broken by other styles, also opens the door to using a custom code parser later on that includes syntax highlighting
5 years ago
fatchan
9bd6aa4339
do links last to prevent surrounding markdown from breaking link
5 years ago
fatchan
f0aa36997e
update webring, improve boardlist and make tables a little wider
5 years ago
fatchan
b66272577c
add a small utility in markdown to get doamins for later so I can add alt links e.g. invidious references #2
5 years ago
fatchan
45ed6a6bce
when thread pages not needed immediately, add it as a task in the queue instead of doing it on the web server process
5 years ago
fatchan
5f455831a4
spoiler multiline
5 years ago
fatchan
219963096f
markdown fix op on quote not being shrunk and general appearance improvements for truncation and omission messages, and reply links
5 years ago
fatchan
92ad72cb5c
move diceroll to other file and fix markdown for image
5 years ago
fatchan
d412be3450
dice rolls ##XdY+/-Z, and adjust post styling to accommodate it references #2
5 years ago
fatchan
56dfa48160
add announcements to boards, same styling as posts and fix the strict-origin to same-origin for links
5 years ago
fatchan
73edb8d51c
non-greedy markdown, and add faq+custom pags to gulpfile
5 years ago
fatchan
981f257d45
dont need access to Posts in markdown for posting
5 years ago
fatchan
0a0d5512be
fix for file with no name, only extension having missing extension after uploading
5 years ago
fatchan
c18f25861e
improve trimming bad inputs and fix code block markdown to be non-greedy and respect first line leading whitespace
5 years ago
fatchan
722d58be50
same origin referrer policy to protect user privacy, if supported by browser. same origin to prevent issues with same site links and posting referrer checks
5 years ago
fatchan
65486ebfbc
underline and strikethrough added to post styling
5 years ago
fatchan
7c57fca366
organise the helpers some
5 years ago
fatchan
6a51b69420
link regex reject more invalid characters, revert to old spoilers andimprove spoiler appearance
5 years ago