Specify the start and end positions of files to be included with qiitap

qiitap has the ability to include other files within Markdown. Check their behavior.

Whole file

Notation: $ {qiitap.qinclude ('./fish.md')}

Output result:

Whole file


AAAAAAAAAAAAAA
AAAAAAAAAAAAAA
AAAAAAAAAAAAAA
    [START]
    BBBBBBBBBBBBB
    BBBBBBBBBBBBB
       BBBBBBBBBBBBB
       BBBBBBBBBBBBB
    BBBBBBBBBBBBB
    BBBBBBBBBBBBB
    [END]
AAAAAAAAAAAAAA
AAAAAAAAAAAAAA

Specify start position and end position

Notation: $ {qiitap.qinclude ('./fish.md', start_at ='START', end_at ='END')}

Output result:

Specify start position and end position


BBBBBBBBBBBBB
BBBBBBBBBBBBB
   BBBBBBBBBBBBB
   BBBBBBBBBBBBB
BBBBBBBBBBBBB
BBBBBBBBBBBBB

Specify only the start position

Notation: $ {qiitap.qinclude ('./fish.md', start_at ='START')}

Output result:

Specify only the start position


    BBBBBBBBBBBBB
    BBBBBBBBBBBBB
       BBBBBBBBBBBBB
       BBBBBBBBBBBBB
    BBBBBBBBBBBBB
    BBBBBBBBBBBBB
    [END]
AAAAAAAAAAAAAA
AAAAAAAAAAAAAA

Specify only the end position

Notation: $ {qiitap.qinclude ('./fish.md', end_at ='END')}

Output result:

Specify only the end position


AAAAAAAAAAAAAA
AAAAAAAAAAAAAA
AAAAAAAAAAAAAA
    [START]
    BBBBBBBBBBBBB
    BBBBBBBBBBBBB
       BBBBBBBBBBBBB
       BBBBBBBBBBBBB
    BBBBBBBBBBBBB
    BBBBBBBBBBBBB

Try to left justify as much as possible.

Try if you can truncate the indent. Truncate is either a single-byte space or a tab. However, if it cannot be done, it will be output as it is.

Recommended Posts

Specify the start and end positions of files to be included with qiitap
How to insert a specific process at the start and end of spider with scrapy
Commands and files to check the version of CentOS Linux
Become familiar with (want to be) around the pipeline of spaCy
To improve the reusability and maintainability of workflows created with Luigi
[Python] How to specify the window display position and size of matplotlib
Specify the browser to use with Jupyter Notebook. Especially Mac. (And Vivaldi)
Try to react only the carbon at the end of the chain with SMARTS
Try to separate the background and moving object of the video with OpenCV
Python> datetime> Implementation> Specify the end date, interval, and start date, and return and display each interval.
I made you to express the end of the IP address with L Chika
Make it easy to specify the time of AWS CloudWatch Events with CDK.
How to get a list of files in the same directory with python
How to specify the NIC to scan with amazon-dash
Specify the Python executable to use with virtualenv
Script to tweet with multiples of 3 and numbers with 3 !!
How to specify attributes with Mock of python
[Shell script] Calculates the elapsed time from the START and END log files and outputs it.
I tried to automate the article update of Livedoor blog with Python and selenium.
How to get started with Visual Studio Online ~ The end of the environment construction era ~
The and operator of Python's evaluation expression seems to be evaluated from the left side expression
The story of trying to contribute to COVID-19 analysis with AWS free tier and failing
I just wanted to extract the data of the desired date and time with Django
I tried to compare the processing speed with dplyr of R and pandas of Python
Extract the table of image files with OneDrive & Python
[Python environment maintenance] De-NeoBundle. Prepare the environment of the super convenient complementary plug-in jedi-vim with dein and set it to be comfortable
Coordinates of the right end of Label made with tkinter
Easy IoT to start with Raspberry Pi and MESH
Add information to the bottom of the figure with Matplotlib
[Python] How to specify the download location with youtube-dl
Visualize the range of interpolation and extrapolation with python
Try to get the contents of Word with Golang
Specify MinGW as the compiler to use with Python
I don't like to be frustrated with the release of Pokemon Go, so I made a script to detect the release and tweet it
[Python] Summary of how to specify the color of the figure
Try to specify the axis with PyTorch's Softmax function
[Selenium] How to specify the relative path of chromedriver?
I tried to automatically post to ChatWork at the time of deployment with fabric and ChatWork Api
[Introduction to SIR model] Predict the end time of each country with COVID-19 data fitting ♬
Unzip a lot of ZIP-compressed files with Linux commands to UTF8 and stick them together
I tried to get the number of days of the month holidays (Saturdays, Sundays, and holidays) with python
Return the image data with Flask of Python and draw it to the canvas element of HTML
Give the history command a date and time and collect the history files of all users with a script
Create a 2D array by adding a row to the end of an empty array with numpy
[Python] A program to find the number of apples and oranges that can be harvested
I tried to find the entropy of the image with python
Specify the project name of docker-compose with Docker integration of Pycharm
I want to specify another version of Python with pyvenv
I tried to find the average of the sequence with TensorFlow
See the power of speeding up with NumPy and SciPy
[pyqtgraph] Add region to the graph and link it with the graph region
Settings to debug the contents of the library with VS Code
Hook to the first import of the module and print the module path
Try to automate the operation of network devices with Python
Until the start of the django tutorial with pycharm on Windows
"Deep copy" and "Shallow copy" to understand with the smallest example
I want to know the features of Python and pip
[End of 2020] A memo to start using AWS CLI (Version 2)
Play with the password mechanism of GitHub Webhook and Python
Upload and delete files to Google Cloud Storages with django-storage
Get the source of the page to load infinitely with python.