Skip to content

Commit

Permalink
Mise à jour de ZMarkdown vers la version 12.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
StaloneLab committed Jan 8, 2025
1 parent 4d9a460 commit ee73ea7
Show file tree
Hide file tree
Showing 3 changed files with 380 additions and 387 deletions.
3 changes: 3 additions & 0 deletions zds/utils/templatetags/emarkdown.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,14 @@ def log_args():
try:
timeout = 10
real_input = str(md_input)
kwargs["heading_shift"] = 2
if output_format.startswith("tex") or full_json:
# latex may be really long to generate but it is also restrained by server configuration
timeout = 120
# use manifest renderer
real_input = md_input
# do not shift title
kwargs["heading_shift"] = 0
response = post(
"{}{}".format(settings.ZDS_APP["zmd"]["server"], endpoint),
json={
Expand Down
Loading

0 comments on commit ee73ea7

Please sign in to comment.