Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup #274

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Cleanup #274

wants to merge 3 commits into from

Conversation

VincentTam
Copy link
Contributor

Clean up text files (selected by grep -I, excluding images (SVG) and minified scripts *.min.*)

  1. Replaced tabs \t with two white spaces ␣␣.

  2. Remove trailing spaces.

  3. Added back missing newline \n to EOF.

  4. Unified indentation (two white spaces ␣␣.)

  5. Removed invisible zero-width space (U+200B) in

    ```
    ​​$$
    \frac{1}{\Bigl(\sqrt{\phi \sqrt{5}}-\phi\Bigr) e^{\frac25 \pi}} = 1+\frac{e^{-2\pi}} {1+\frac{e^{-4\pi}} {1+\frac{e^{-6\pi}} {1+\frac{e^{-8\pi}} {1+\cdots} } } }
    $$
    ​​

    You may verify this by running curl ... | od -c on your remotely hosted files.

    $ curl -L \
    https://github.com/halogenica/beautifulhugo/raw/master/exampleSite/content/post/2017-03-05-math-sample.md \
    | od -c
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    100   182  100   182    0     0    274      0 --:--:-- --:--:-- --:--:--   274
    100  1328  100  1328    0     0   1370      0 --:--:-- --:--:-- --:--:--  1370
    0000000   -   -   -  \n   t   i   t   l   e   :       M   a   t   h····
    0000020   S   a   m   p   l   e  \n   s   u   b   t   i   t   l   e   :
    ...
    0001420   \   c   d   o   t   s   }       }       }       }  \n   $   $
    0001440  \n   `   `   `  \n 342 200 213 342 200 213   $   $  \n   \   f
    0001460   r   a   c   {   1   }   {   \   B   i   g   l   (   \   s   q
    0001500   r   t   {   \   p   h   i       \   s   q   r   t   {   5   }
    0001520   }   -   \   p   h   i   \   B   i   g   r   )       e   ^   {
    0001540   \   f   r   a   c   2   5       \   p   i   }   }       =····
    0001560   1   +   \   f   r   a   c   {   e   ^   {   -   2   \   p   i
    0001600   }   }       {   1   +   \   f   r   a   c   {   e   ^   {   -
    0001620   4   \   p   i   }   }       {   1   +   \   f   r   a   c   {
    0001640   e   ^   {   -   6   \   p   i   }   }       {   1   +   \   f
    0001660   r   a   c   {   e   ^   {   -   8   \   p   i   }   }       {
    0001700   1   +   \   c   d   o   t   s   }       }       }       }  \n
    0001720   $   $  \n 342 200 213 342 200 213      \n  \n   #   #   #····
    0001740   E   x   a   m   p   l   e       3  \n   `   `   `  \n   $   $
    0001760  \n   1       +           \   f   r   a   c   {   q   ^   2   }
    ...
    

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.

1 participant