Multiple classes are separated via space. Show_description_as_inline_caption: true | falseĬustom_inline_caption_css_class: 'my-caption-class'Īdds the description as caption in lightgallery dialog.Īdds the description as inline caption below the image.Ĭustom CSS classes which are applied to the inline caption paragraph. Show_description_in_lightgallery: true | false Change extension settings in mkdocs.ymlĪll settings of the extension are optional and can be omitted. Modify the mkdocs.yml file to add the following settings # Documentation and themeĥ. The latest version of Lightgallery can be installed on PCs running Windows 7/8/10/11, 64-bit. getElementsB圜lassName ( "lightgallery" ) for ( var i = 0 i Ĥ. Download Lightgallery 0.1.1 from our software library for free. Create a theme/main.hml file and add the following code to the file Go to lightgallery.js GitHub or JSDELIVR to download the following files to the theme sub-folders as listed below Create a theme folder will the following structure in your Mkdocs folder theme/Ģ. markdown ( '!(/img/pic1.png)', extensions = )) Install $ pip install lightgalleryġ. To test the extension: import markdown from lightgallery import LightGalleryExtension print ( markdown. The extension is made to work with lightgallery.js a full featured JavaScript lightgallery/lightbox with no dependencies. Will only wrap images by adding "!" right after the opening "(/img/pic1.png) lightGallery(document.Markdown extension to wrap images in a lightbox. lightGallery(document.getElementById('lightgallery')) ĥ. Initialize the lightGallery with default options. 'Peck Pocketed' by Kevin Herron | Disney Favorite"Ĥ. used in zoom plugin to see the actual size of the image when you doubleclick on the image. data-width: Actual size of the image in px.By default, current browser URL will be taken. Specify only if you want to provide separate share URL for the specific slide. data-twitter-share-url: Twitter share URL.data-sub-html-url: URL of the file which contain your sub html.data-sub-html: id or class name of an object(div) which contain your sub html. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |