Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
python-docx / features / par-insert-paragraph.feature
Size: Mime:
Feature: Insert a paragraph before or after a paragraph
  In order to add new content in the middle of an existing document
  As a developer using python-docx
  I need a way to insert a paragraph relative to another paragraph


  Scenario: Add a new paragraph above an existing paragraph
    Given a document containing three paragraphs
     When I insert a paragraph above the second paragraph
     Then the document contains four paragraphs
      And the text of the second paragraph matches the text I set
      And the style of the second paragraph matches the style I set