Metadata-Version: 2.4
Name: sphinx-revealjs-copycode
Version: 0.4.3
Summary: Sphinx extension to setup Reveal.js CopyCode plugin with sphinx-revealjs
Project-URL: Repository, https://github.com/ftnext/sphinx-revealjs-copycode
Author-email: nikkie <takuyafjp+develop@gmail.com>
License: MIT License
License-File: LICENSE
Keywords: Reveal.js,Sphinx,copy
Classifier: Development Status :: 3 - Alpha
Classifier: Framework :: Sphinx
Classifier: Framework :: Sphinx :: Extension
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Documentation :: Sphinx
Classifier: Topic :: Multimedia :: Graphics :: Presentation
Classifier: Topic :: Text Processing :: Markup :: HTML
Requires-Python: >=3.10
Requires-Dist: sphinx-revealjs<4,>=2
Requires-Dist: sphinx>=7.3
Provides-Extra: dev
Requires-Dist: autoflake; extra == 'dev'
Requires-Dist: black; extra == 'dev'
Requires-Dist: flake8; extra == 'dev'
Requires-Dist: isort; extra == 'dev'
Requires-Dist: mypy; extra == 'dev'
Requires-Dist: pyupgrade; extra == 'dev'
Requires-Dist: taskipy; extra == 'dev'
Description-Content-Type: text/markdown

# sphinx-revealjs-copycode

[attakei/sphinx-revealjs](https://github.com/attakei/sphinx-revealjs) meets [Martinomagnifico/reveal.js-copycode](https://github.com/Martinomagnifico/reveal.js-copycode)!

## Usage

Install in your sphinx-revealjs project.

```
$ pip install sphinx-revealjs-copycode
```

Create your presentation with sphinx-revealjs.

Then edit `conf.py` to use this extension.  
Just add one line!!

```diff
extensions = [
    "sphinx_revealjs",
+    "sphinx_revealjs_copycode",
]
```

## Configuration

### revealjs_copycode_tag

You can specify the version of the reveal.js-copycode plugin to use by setting the `revealjs_copycode_tag` in your `conf.py`:

```python
revealjs_copycode_tag = "v1.2.0"  # Example: Set a custom version. If not set, the default version "v1.3.0" will be used.
```

This allows you to use a specific version of the plugin if needed.

You can check available tags at [reveal.js-copycode tags](https://github.com/Martinomagnifico/reveal.js-copycode/tags).
