Skip to content

Commit

Permalink
updated styles of the cookbook
Browse files Browse the repository at this point in the history
  • Loading branch information
byemaxx committed Jun 3, 2024
1 parent ce31cb2 commit b2e7a98
Show file tree
Hide file tree
Showing 2 changed files with 73 additions and 72 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/jekyll-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
html_content = markdown.markdown(markdown_content, extensions=['tables', 'toc'])
# Add Bootstrap classes to tables and images
html_content = re.sub(r'<img (.*?)>', r'<div style="text-align: center;"><img \1 class="img-fluid" style="max-width: 100%; min-width: 300px; height: auto; display: inline-block;"></div>', html_content)
html_content = re.sub(r'<img (.*?)>', r'<div style="text-align: center;"><img \1 class="img-fluid" style="max-width: 60%; min-width: 300px; height: auto; display: inline-block;"></div>', html_content)
html_content = re.sub(r'<table>', r'<table class="table table-striped table-bordered">', html_content)
# Jinja2 template for HTML output
Expand Down
Loading

0 comments on commit b2e7a98

Please sign in to comment.