issues Search Results · repo:shimizukawa/scrap2rst language:Python
Filter by
21 results
(90 ms)21 results
inshimizukawa/scrap2rst (press backspace or delete to remove)Currently, scrap2rst imports from scrapbox and convert it into reST on memory.
New option -s allow save raw scrapbox source into specified path:
scrap2rst -s path url :
- if path is directory, save ...
shimizukawa
- Opened on Sep 27, 2019
- #28
scrapbox:
pre text `python -m this` post text
pre text`python -m this`post text
reST
pre text ``python -m this`` post text
pre text ``python -m this`` post text
space separator is needed.
shimizukawa
- Opened on Sep 27, 2019
- #27
sometime python code in scrapbox is written with 3-spaces or hard-tab instead of 4-spaces. Reformatting option with
Black or something else is better than nothing.
shimizukawa
- Opened on Sep 26, 2019
- #26
scrapbox
code:python
def main():
...
for row in data:
rst (current)
.. code:: python
def main():
...
for row in data:
rst (better)
.. code:: python
def main():
...
...
shimizukawa
- Opened on Sep 26, 2019
- #25
scrapbox
ベストプラクティスコード
code:change1.diff
+class Address(models.Model):
+ user = models.ForeignKey( User , ...)
+ address = models.CharField(...)
+ ...
この時点で `manage.py makemigrations` ...
shimizukawa
- Opened on Sep 26, 2019
- #24
scrapbox
W: 「こうです
code:bash
(venv) $ python manage.py runserver
- line 1: space W: 「こうです
- line 2: space tab code:bash
- line 3: space space space (venv) $ python manage.py runserver
...
shimizukawa
- Opened on Sep 26, 2019
- #23
scrapbox source
foo1
foo2
foo2
* bar1
* bar2
* bar2
reST
::
foo1
::
foo2
foo2
* ::
bar1
* ::
bar2
bar2
shimizukawa
- Opened on Sep 25, 2019
- #22
without --sphinx option, I get .. toctree:: empty directive at the end of rst files.
shimizukawa
- 2
- Opened on Sep 24, 2019
- #16
source
[https://gyazo.com/d01f2739d69xxxxxxx]
is converted as
.. figure:: https://gyazo.com/d01f2739d69xxxxxxx
but correct one is:
.. figure:: https://gyazo.com/d01f2739d69xxxxxxx.png
shimizukawa
- 1
- Opened on Sep 24, 2019
- #15
source
some text
[https://gyazo.com/a262e752038644xxxxxx]
is converted as:
* some text
* `https://gyazo.com/a262e752038644xxxxxx`_
.. _https://gyazo.com/a262e752038644xxxxxx: https://gyazo.com/a262e752038644xxxxxx ...
shimizukawa
- Opened on Sep 24, 2019
- #14

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.