Closed sousukerai closed 1 year ago
@sousukerai Hi, try to add 'sendfile off' next to the markdown directives. Also, can you please share the problematic markdown file (if it possible)
@sousukerai it is a bug I've introduced in last commit. Reverted it. You can rebuild the module using latest commit from master. Thank you!
I rebuilt the nginx-1.24.0 with your tag 0.1.1, then it will render the whole markdown page very well. Thanks. The other issue is markdown table which I used often. The table is still not be rendered right. For which I could live with. Again, thanks for your effort and a very wonderful work!
@sousukerai thanks for your kind words! Unfortunately, original cmark lib doesn't support syntax for tables. I've commited support for cmark-gfm lib (fork by Github with support for tables)
Compiled successfully into nginx, run it and it will stop transform the whole markdown file into html format. my nginx.conf is as follows,
user nobody;
worker_processes 1;
error_log logs/error.log;
error_log logs/error.log notice;
error_log logs/error.log info;
pid logs/nginx.pid;
events { worker_connections 2048; # original 1024 }
http { include mime.types; default_type application/octet-stream;
}