FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

reformat - move paragraph direction and image size from style attribute to "classic" attribute by ophiry · Pull Request #39 · PythonFreeCourse/Notebooks · GitHub

reformat - move paragraph direction and image size from style attribute to "classic" attribute - #39

Open
ophiry wants to merge 1 commit into
PythonFreeCourse:mainfrom
ophiry:reformat
Open

reformat - move paragraph direction and image size from style attribute to "classic" attribute#39
ophiry wants to merge 1 commit into
PythonFreeCourse:mainfrom
ophiry:reformat

Conversation

ophiry commented Sep 14, 2020

Copy link
Copy Markdown

re: #37

Comment thread week1/2_Arithmetics.ipynb
"metadata": {},
"source": [
"<img src=\"images/logo.jpg\" style=\"display: block; margin-left: auto; margin-right: auto;\" alt=\"לוגו של מיזם לימוד הפייתון. נחש מצויר בצבעי צהוב וכחול, הנע בין האותיות של שם הקורס: לומדים פייתון. הסלוגן המופיע מעל לשם הקורס הוא מיזם חינמי ללימוד תכנות בעברית.\">"
"<img alt=\"לוגו של מיזם לימוד הפייתון. נחש מצויר בצבעי צהוב וכחול, הנע בין האותיות של שם הקורס: לומדים פייתון. הסלוגן המופיע מעל לשם הקורס הוא מיזם חינמי ללימוד תכנות בעברית.\" src=\"images/logo.jpg\" style=\"display: block; margin-left: auto; margin-right: auto;\"/>"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

If it is OK on your side, I'd prefer not to move around attributes in places where it doesn't make a difference :)

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

I used a html parser (BeautifulSoup) to do the reformatting - there's no direct control on all the details of the generated html

Comment thread week1/2_Arithmetics.ipynb
"לפעמים נרצה לצרף דברי הסבר לקוד שכתבנו.<br>\n",
"כדי להוסיף הסברים לצד הקוד נשתמש בתו סולמית, ומייד אחריה נכתוב את ההסברים שרצינו לצרף.<br>\n",
"<p dir=\"rtl\" style=\"text-align: right; direction: rtl; float: right; clear: both;\">\n",
"לפעמים נרצה לצרף דברי הסבר לקוד שכתבנו.<br/>\n",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Let's not add closing tags to our brs, we're on HTML5 :)

"<li><code>\"_)(*&^%\"</code></li>\n",
"<li><code>\"_)('*&^%\"</code></li>\n",
" <li><code>\"_)(\"*&^%\"</code></li>\n",
"<li><code>\"_)(*&amp;^%\"</code></li>\n",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Is this behavior required?

Copy link
Copy Markdown

I'm a little late to the party, but I noticed you all aren't using a notebook review tool and wanted to invite you to review this pull request with GitNotebooks: https://gitnotebooks.com/PythonFreeCourse/Notebooks/pull/39

It lets you do things like comment on rendered markdown and code cells, so might be an easy win for your PR reviews.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL